Skip to contentSkip to conversation

pci_ids: add Attansic vendor id

PATCH In review Jay Cliburn 1 participant 1 message Feb 4, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 pci_ids: add Attansic vendor id

From: Jay Cliburn <[email protected]>

pci_ids: add Attansic vendor id

Add Attansic to pci_ids and use the ID in the driver.

---

 drivers/net/atl1/atl1_main.c |    2 +-
 include/linux/pci_ids.h      |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/atl1/atl1_main.c +1 -1
index b037ebc..9a3fb86 100644
@@ -102,7 +102,7 @@ extern struct ethtool_ops atl1_ethtool_ops;
  * atl1_pci_tbl - PCI Device ID Table
  */
 static const struct pci_device_id atl1_pci_tbl[] = {
-	{PCI_DEVICE(0x1969, 0x1048)},
+	{PCI_DEVICE(PCI_VENDOR_ID_ATTANSIC, 0x1048)},
 	/* required last entry */
 	{0,}
 };
include/linux/pci_ids.h +2 -0
index 3d1d210..68a7be9 100644
@@ -2066,6 +2066,8 @@
 #define PCI_VENDOR_ID_TDI               0x192E
 #define PCI_DEVICE_ID_TDI_EHCI          0x0101
 
+#define PCI_VENDOR_ID_ATTANSIC		0x1969
+
 #define PCI_VENDOR_ID_JMICRON		0x197B
 #define PCI_DEVICE_ID_JMICRON_JMB360	0x2360
 #define PCI_DEVICE_ID_JMICRON_JMB361	0x2361