Skip to content

Commit 66efc5a

Browse files
author
Jeff Garzik
committed
libata: kill ATA_ENABLE_PATA
The ATA_ENABLE_PATA define was never meant to be permanent, and in recent kernels, it's already been unconditionally enabled. Remove. Signed-off-by: Jeff Garzik <[email protected]>
1 parent 591a6e8 commit 66efc5a

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/ata/ata_piix.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ static void ich_set_dmamode (struct ata_port *ap, struct ata_device *adev);
164164
static unsigned int in_module_init = 1;
165165

166166
static const struct pci_device_id piix_pci_tbl[] = {
167-
#ifdef ATA_ENABLE_PATA
168167
/* Intel PIIX3 for the 430HX etc */
169168
{ 0x8086, 0x7010, PCI_ANY_ID, PCI_ANY_ID, 0, 0, piix_pata_mwdma },
170169
/* Intel PIIX4 for the 430TX/440BX/MX chipset: UDMA 33 */
@@ -204,7 +203,6 @@ static const struct pci_device_id piix_pci_tbl[] = {
204203
/* ICH7/7-R (i945, i975) UDMA 100*/
205204
{ 0x8086, 0x27DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_133 },
206205
{ 0x8086, 0x269E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
207-
#endif
208206

209207
/* NOTE: The following PCI ids must be kept in sync with the
210208
* list in drivers/pci/quirks.c.

include/linux/libata.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
#undef ATA_VERBOSE_DEBUG /* yet more debugging output */
5555
#undef ATA_IRQ_TRAP /* define to ack screaming irqs */
5656
#undef ATA_NDEBUG /* define to disable quick runtime checks */
57-
#define ATA_ENABLE_PATA /* define to enable PATA support in some
58-
* low-level drivers */
5957

6058

6159
/* note: prints function name for you */

0 commit comments

Comments
 (0)