projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea19006
)
[PATCH] ata_piix: fix ich6/m_map_db
author
Tejun Heo
<htejun@gmail.com>
Fri, 31 Mar 2006 11:01:50 +0000
(20:01 +0900)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 31 Mar 2006 15:14:41 +0000
(10:14 -0500)
MAP tables of ich6 and ich6m are wrong. Depending on port usage,
ata_piix may fail to initialize attached devices.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/ata_piix.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/ata_piix.c
b/drivers/scsi/ata_piix.c
index 2d5be84d8bd4e6c653a920cd1fc66bcfb9b4f061..24e71b5551722221a7c8a2ee86b66a04f2b08ecb 100644
(file)
--- a/
drivers/scsi/ata_piix.c
+++ b/
drivers/scsi/ata_piix.c
@@
-301,7
+301,7
@@
static struct piix_map_db ich6_map_db = {
.mask = 0x3,
.map = {
/* PM PS SM SS MAP */
- { P0, P
1, P2
, P3 }, /* 00b */
+ { P0, P
2, P1
, P3 }, /* 00b */
{ IDE, IDE, P1, P3 }, /* 01b */
{ P0, P2, IDE, IDE }, /* 10b */
{ RV, RV, RV, RV },
@@
-312,7
+312,7
@@
static struct piix_map_db ich6m_map_db = {
.mask = 0x3,
.map = {
/* PM PS SM SS MAP */
- { P0, P
1, P2, P3
}, /* 00b */
+ { P0, P
2, RV, RV
}, /* 00b */
{ RV, RV, RV, RV },
{ P0, P2, IDE, IDE }, /* 10b */
{ RV, RV, RV, RV },