diff options
author | Jin Zhengxiong <Jason.Jin@freescale.com> | 2006-06-28 13:43:56 (GMT) |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-06-28 13:43:56 (GMT) |
commit | da012ab661fd4ab169dd7b9b32201a4df62cf34a (patch) | |
tree | 0a9132dc60451bcdb07d2f241575af50561af9db | |
parent | bc09cf3c2bfb8d54c659cbb332f79d0950982fd0 (diff) | |
download | u-boot-da012ab661fd4ab169dd7b9b32201a4df62cf34a.tar.xz |
Change Id to symbolic name for RTL8139
Signed-off-by: Jason Jin <Jason.jin@freescale.com>
-rw-r--r-- | drivers/rtl8139.c | 2 | ||||
-rw-r--r-- | include/pci_ids.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/rtl8139.c b/drivers/rtl8139.c index 848d1d1..afe1a4f 100644 --- a/drivers/rtl8139.c +++ b/drivers/rtl8139.c @@ -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}, {} }; diff --git a/include/pci_ids.h b/include/pci_ids.h index 8cc3ec0..3b10452 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -1045,6 +1045,9 @@ #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 |