aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_hpt3x2n.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_hpt3x2n.c')
-rw-r--r--drivers/ata/pata_hpt3x2n.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c
index 2ab9fd6c597f..8d63eba782ff 100644
--- a/drivers/ata/pata_hpt3x2n.c
+++ b/drivers/ata/pata_hpt3x2n.c
@@ -128,6 +128,9 @@ static int hpt3x2n_cable_detect(struct ata_port *ap)
128 128
129 pci_read_config_byte(pdev, 0x5B, &scr2); 129 pci_read_config_byte(pdev, 0x5B, &scr2);
130 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01); 130 pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01);
131
132 udelay(10); /* debounce */
133
131 /* Cable register now active */ 134 /* Cable register now active */
132 pci_read_config_byte(pdev, 0x5A, &ata66); 135 pci_read_config_byte(pdev, 0x5A, &ata66);
133 /* Restore state */ 136 /* Restore state */