DORMANTno replies

[PATCH netdev#atl1 3/3] pci_ids: add Attansic vendor id

From: Jay Cliburn <hidden>
Date: 2007-02-04 02:26:14
Also in: lkml
Subsystem: networking drivers, pci subsystem, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Bjorn Helgaas, Linus Torvalds

From: Jay Cliburn <redacted>

pci_ids: add Attansic vendor id

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

Signed-off-by: Jay Cliburn <redacted>
---

 drivers/net/atl1/atl1_main.c |    2 +-
 include/linux/pci_ids.h      |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c
index b037ebc..9a3fb86 100644
--- a/drivers/net/atl1/atl1_main.c
+++ b/drivers/net/atl1/atl1_main.c
@@ -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,}
 };
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 3d1d210..68a7be9 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help