|
@@ -128,6 +128,9 @@ static int hpt3x2n_cable_detect(struct ata_port *ap)
|
|
|
|
|
|
pci_read_config_byte(pdev, 0x5B, &scr2);
|
|
pci_read_config_byte(pdev, 0x5B, &scr2);
|
|
pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01);
|
|
pci_write_config_byte(pdev, 0x5B, scr2 & ~0x01);
|
|
|
|
+
|
|
|
|
+ udelay(10); /* debounce */
|
|
|
|
+
|
|
/* Cable register now active */
|
|
/* Cable register now active */
|
|
pci_read_config_byte(pdev, 0x5A, &ata66);
|
|
pci_read_config_byte(pdev, 0x5A, &ata66);
|
|
/* Restore state */
|
|
/* Restore state */
|