Skip to content

Commit

Permalink
pata_amd: remove contamination added during cable_detect conversion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Apr 28, 2007
1 parent 169439c commit abcfa88
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/ata/pata_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,6 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
if (type == 1 && rev > 0x7)
type = 2;

#if defined(CONFIG_ATA_ACPI)
/* Prefer the ACPI driver for Nvidia hardware */
if (pdev->vendor == PCI_VENDOR_ID_NVIDIA && ata_pata_acpi_present(pdev))
return -ENODEV;
#endif
/* Check for AMD7411 */
if (type == 3)
/* FIFO is broken */
Expand Down

0 comments on commit abcfa88

Please sign in to comment.