]> git.sur5r.net Git - u-boot/commitdiff
Change Id to symbolic name for RTL8139
authorJin Zhengxiong <Jason.Jin@freescale.com>
Wed, 28 Jun 2006 13:43:56 +0000 (08:43 -0500)
committerJon Loeliger <jdl@freescale.com>
Wed, 28 Jun 2006 13:43:56 +0000 (08:43 -0500)
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
drivers/rtl8139.c
include/pci_ids.h

index 848d1d177aeee525a455cd9d2e20dbd5cb334060..afe1a4fdaf6508d131de91308d2e43aec2b63de7 100644 (file)
@@ -196,7 +196,7 @@ static void rtl_disable(struct eth_device *dev);
 
 static struct pci_device_id supported[] = {
        {PCI_VENDOR_ID_REALTEK, PCI_DEVICE_ID_REALTEK_8139},
-       {0x1186, 0x1300},
+       {PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_8139},
        {}
 };
 
index 8cc3ec0a23537ceb79af94876ae80b633036c52d..3b104524160a1c7967c94ebac87ebb11ba4f0fa7 100644 (file)
 #define PCI_DEVICE_ID_REALTEK_8139     0x8139
 #define PCI_DEVICE_ID_REALTEK_8169     0x8169
 
+#define PCI_VENDOR_ID_DLINK            0x1186
+#define PCI_DEVICE_ID_DLINK_8139       0x1300
+
 #define PCI_VENDOR_ID_XILINX           0x10ee
 #define PCI_DEVICE_ID_TURBOPAM         0x4020