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:
3b4ba59
)
pata_sl82c105: restore cable detect method
author
Alan Cox
<
[email protected]
>
Tue, 27 Mar 2007 05:43:41 +0000
(21:43 -0800)
committer
Jeff Garzik
<
[email protected]
>
Sat, 28 Apr 2007 18:16:00 +0000
(14:16 -0400)
Signed-off-by: Alan Cox <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/ata/pata_sl82c105.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_sl82c105.c
b/drivers/ata/pata_sl82c105.c
index b681441cfcb96a96a17ed5492d6c985961427d07..da9e22b257532f10fb7e930117b379426b956fea 100644
(file)
--- a/
drivers/ata/pata_sl82c105.c
+++ b/
drivers/ata/pata_sl82c105.c
@@
-58,7
+58,6
@@
static int sl82c105_pre_reset(struct ata_port *ap)
if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no]))
return -ENOENT;
- ap->cbl = ATA_CBL_PATA40;
return ata_std_prereset(ap);
}
@@
-238,6
+237,7
@@
static struct ata_port_operations sl82c105_port_ops = {
.thaw = ata_bmdma_thaw,
.error_handler = sl82c105_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .cable_detect = ata_cable_40wire,
.bmdma_setup = ata_bmdma_setup,
.bmdma_start = sl82c105_bmdma_start,