pci_ids: add Attansic vendor id
Subsystems (3)
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.
Signed-off-by Jay Cliburn <[email protected]>
---
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
@@ -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
@@ -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