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:
d6f4d5e
)
pata_pdc202xx_old: Correct cable detect logic
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Tue, 3 Jul 2007 14:15:13 +0000
(15:15 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 3 Jul 2007 14:11:12 +0000
(10:11 -0400)
We got it backwards and now the other detects are fixed it shows up
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_pdc202xx_old.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_pdc202xx_old.c
b/drivers/ata/pata_pdc202xx_old.c
index edbaf9d653b8a3a57e9b8b2de92301e735656d55..d277246b7337ace170887c2607dc7ed14d73cd75 100644
(file)
--- a/
drivers/ata/pata_pdc202xx_old.c
+++ b/
drivers/ata/pata_pdc202xx_old.c
@@
-31,8
+31,8
@@
static int pdc2026x_cable_detect(struct ata_port *ap)
pci_read_config_word(pdev, 0x50, &cis);
if (cis & (1 << (10 + ap->port_no)))
- return ATA_CBL_PATA
8
0;
- return ATA_CBL_PATA
4
0;
+ return ATA_CBL_PATA
4
0;
+ return ATA_CBL_PATA
8
0;
}
/**