projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ef65e
)
[PATCH] libata-dev: Fix array index value in ata_rwcmd_protocol()
author
Albert Lee
<albertcc@tw.ibm.com>
Wed, 8 Feb 2006 08:37:43 +0000
(16:37 +0800)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 9 Feb 2006 09:26:12 +0000
(
04:26
-0500)
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
===
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index 6daba4e2c3fd16b2efae04fd702a2ff48839c6be..dab13ed6fa78422fbd6fccd59f708b1b1e0b2ad7 100644
(file)
--- a/
drivers/scsi/libata-core.c
+++ b/
drivers/scsi/libata-core.c
@@
-611,7
+611,7
@@
int ata_rwcmd_protocol(struct ata_queued_cmd *qc)
} else if (lba48 && (qc->ap->flags & ATA_FLAG_PIO_LBA48)) {
/* Unable to use DMA due to host limitation */
tf->protocol = ATA_PROT_PIO;
- index = dev->multi_count ? 0 :
4
;
+ index = dev->multi_count ? 0 :
8
;
} else {
tf->protocol = ATA_PROT_DMA;
index = 16;