diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-10-10 14:28:11 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-01 22:40:25 -0500 |
commit | fc085150b491bfc186efbca90a14cf907a3060a9 (patch) | |
tree | b5bf8b6eb6d0dabd8699e6b41c239619590659e2 /drivers/ata/pata_ali.c | |
parent | 2f27ce03628acdb81ead4abe914c713e04a3229e (diff) | |
download | op-kernel-dev-fc085150b491bfc186efbca90a14cf907a3060a9.zip op-kernel-dev-fc085150b491bfc186efbca90a14cf907a3060a9.tar.gz |
[PATCH] libata: add 40pin "short" cable support, honour drive side speed detection
[deweerdt@free.fr: build fix]
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Frederik Deweerdt <deweerdt@free.fr>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_ali.c')
-rw-r--r-- | drivers/ata/pata_ali.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 64eed99..e6d2b84 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c @@ -78,7 +78,7 @@ static int ali_c2_cable_detect(struct ata_port *ap) implement the detect logic */ if (ali_cable_override(pdev)) - return ATA_CBL_PATA80; + return ATA_CBL_PATA40_SHORT; /* Host view cable detect 0x4A bit 0 primary bit 1 secondary Bit set for 40 pin */ |