aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_amd.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-04-22 13:04:38 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:46:18 -0400
commitabcfa88bd47d433c796cf724a8a8b321a7190bdd (patch)
tree3ce9963cc51559878ec8e1082bee5d901caaa5be /drivers/ata/pata_amd.c
parent169439c2e35f01e7832a9b4fc8a7446980c3d593 (diff)
pata_amd: remove contamination added during cable_detect conversion
This is added by added by cff63dfceb52c564fe1ba5394d50ab7d599a11b9 - pata: cable methods. Signed-off-by: Tejun Heo <htejun@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_amd.c')
-rw-r--r--drivers/ata/pata_amd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index 5a77e4e60a42..536ee892ab72 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -639,11 +639,6 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
639 if (type == 1 && rev > 0x7) 639 if (type == 1 && rev > 0x7)
640 type = 2; 640 type = 2;
641 641
642#if defined(CONFIG_ATA_ACPI)
643 /* Prefer the ACPI driver for Nvidia hardware */
644 if (pdev->vendor == PCI_VENDOR_ID_NVIDIA && ata_pata_acpi_present(pdev))
645 return -ENODEV;
646#endif
647 /* Check for AMD7411 */ 642 /* Check for AMD7411 */
648 if (type == 3) 643 if (type == 3)
649 /* FIFO is broken */ 644 /* FIFO is broken */