projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4742d54
)
libata bugfix: preserve LBA bit for HDIO_DRIVE_TASK
author
Mark Lord
<mlord@pobox.com>
Fri, 30 Mar 2007 21:45:52 +0000
(17:45 -0400)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 4 Apr 2007 06:07:28 +0000
(
02:07
-0400)
Preserve the LBA bit in the DevSel/Head register for HDIO_DRIVE_TASK.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/libata-scsi.c
b/drivers/ata/libata-scsi.c
index 6cc817a10204a89ad2615ce3bd53f111cdf267da..e9364434182c437fe8e0cb73e38d60a73803ed29 100644
(file)
--- a/
drivers/ata/libata-scsi.c
+++ b/
drivers/ata/libata-scsi.c
@@
-333,7
+333,7
@@
int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg)
scsi_cmd[8] = args[3];
scsi_cmd[10] = args[4];
scsi_cmd[12] = args[5];
- scsi_cmd[13] = args[6] & 0x
0
f;
+ scsi_cmd[13] = args[6] & 0x
4
f;
scsi_cmd[14] = args[0];
/* Good values for timeout and retries? Values below