]> err.no Git - linux-2.6/commitdiff
atl1: add L1 device id to pci_ids, then use it
authorChris Snook <csnook@redhat.com>
Thu, 15 Feb 2007 02:17:01 +0000 (20:17 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:17:05 +0000 (15:17 -0500)
Add device id for the Attansic L1 chip to pci_ids.h, then use it.

Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atl1/atl1_main.c
include/linux/pci_ids.h

index abce97e96b3d8ab294ea34b8107000708f5f8660..09f337563177ab5083238eeb6daa1983e7e55386 100644 (file)
@@ -99,7 +99,7 @@ MODULE_VERSION(DRIVER_VERSION);
  * atl1_pci_tbl - PCI Device ID Table
  */
 static const struct pci_device_id atl1_pci_tbl[] = {
-       {PCI_DEVICE(PCI_VENDOR_ID_ATTANSIC, 0x1048)},
+       {PCI_DEVICE(PCI_VENDOR_ID_ATTANSIC, PCI_DEVICE_ID_ATTANSIC_L1)},
        /* required last entry */
        {0,}
 };
index 182a96f77c8437d28987bd93a12dcb2eccef98ab..600308fdf9ce31b6ece7efc34dbbc6fe633888e6 100644 (file)
 #define PCI_VENDOR_ID_PASEMI           0x1959
 
 #define PCI_VENDOR_ID_ATTANSIC         0x1969
+#define PCI_DEVICE_ID_ATTANSIC_L1      0x1048
 
 #define PCI_VENDOR_ID_JMICRON          0x197B
 #define PCI_DEVICE_ID_JMICRON_JMB360   0x2360