All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] libata-dev: pata_pdc2027x - remove ATA_ENABLE_PATA ifdef
@ 2006-06-28  6:43 Albert Lee
  0 siblings, 0 replies; only message in thread
From: Albert Lee @ 2006-06-28  6:43 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Alan Cox, IDE Linux, Doug Maxey, Unicorn Chang


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@tw.ibm.com>
---
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 */
 };
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-28  6:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-28  6:43 [PATCH 2/2] libata-dev: pata_pdc2027x - remove ATA_ENABLE_PATA ifdef Albert Lee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.