Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109237 Details for
Bug 165453
app-admin/hddtemp broken with 2.6.20 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hddtemp-0.3_beta15-satacmds.patch
hddtemp-0.3_beta15-satacmds.patch (text/plain), 713 bytes, created by
Todd Merrill
on 2007-02-05 16:25:18 UTC
(
hide
)
Description:
hddtemp-0.3_beta15-satacmds.patch
Filename:
MIME Type:
Creator:
Todd Merrill
Created:
2007-02-05 16:25:18 UTC
Size:
713 bytes
patch
obsolete
>--- orig/src/satacmds.c >+++ mod/src/satacmds.c >@@ -54,7 +54,6 @@ > unsigned char cdb[16]; > unsigned char sense[32]; > int dxfer_direction; >- int ret; > > memset(cdb, 0, sizeof(cdb)); > cdb[0] = ATA_16; >@@ -78,13 +77,7 @@ > cdb[6] = cmd[1]; > cdb[14] = cmd[0]; > >- ret = scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); >- >- /* Verify SATA magics */ >- if (sense[0] != 0x72 || sense[7] != 0x0e || sense[9] != 0x0e || sense[10] != 0x00) >- return 1; >- else >- return ret; >+ return scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction); > } > > void sata_fixstring(unsigned char *s, int bytecount)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 165453
: 109237