Currently pata_pdc2027x is the only libata PATA-only driver that needs ATA_ENABLE_PATA to be defined. Remove the ATA_ENABLE_PATA #ifdef to make pata_pdc2027x the same as other libata PATA drivers. Signed-off-by: Albert Lee <albertcc@xxxxxxxxxx> --- Patch against the pata-drivers branch (0ab56aae451577586ecac6968d86251a83f1cb40). For your review, thanks. --- 01_pdc074-eh/drivers/scsi/pata_pdc2027x.c 2006-06-28 13:40:38.000000000 +0800 +++ 02_remove_define/drivers/scsi/pata_pdc2027x.c 2006-06-28 13:42:57.000000000 +0800 @@ -108,7 +108,6 @@ static struct pdc2027x_udma_timing { }; static const struct pci_device_id pdc2027x_pci_tbl[] = { -#ifdef ATA_ENABLE_PATA { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20268, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_100 }, { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20269, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_133 }, { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20270, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_100 }, @@ -116,7 +115,6 @@ static const struct pci_device_id pdc202 { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20275, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_133 }, { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20276, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_133 }, { PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20277, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PDC_UDMA_133 }, -#endif { } /* terminate list */ }; - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html