From 9a29439fb90d32ced7a59d89e02b52f97e5fc3d3 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Thu, 11 Apr 2002 06:12:51 +0000 Subject: [PATCH] Nortel Networks sells a RealTek 8139-based NIC that's basically the same thing as the SMC 1211, but with their own vendor ID. Update the device list to support this NIC. (Discovered these cards lying around the lab at work.) --- sys/pci/if_rl.c | 2 ++ sys/pci/if_rlreg.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index a08e56103a2..198f8025a60 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -152,6 +152,8 @@ static struct rl_type rl_devs[] = { "Addtron Technolgy 8139 10/100BaseTX" }, { DLINK_VENDORID, DLINK_DEVICEID_530TXPLUS, "D-Link DFE-530TX+ 10/100BaseTX" }, + { NORTEL_VENDORID, ACCTON_DEVICEID_5030, + "Nortel Networks 10/100BaseTX" }, { 0, 0, NULL } }; diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 4342eb6def6..2e4086ccd25 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -432,6 +432,11 @@ struct rl_softc { */ #define ACCTON_DEVICEID_5030 0x1211 +/* + * Nortel PCI vendor ID + */ +#define NORTEL_VENDORID 0x126C + /* * Delta Electronics Vendor ID. */