From 34f26534d17cbb44e9ec0d9a91eb90052c06a8d8 Mon Sep 17 00:00:00 2001 From: wpaul 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 a08e56103a22..198f8025a603 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 4342eb6def61..2e4086ccd250 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. */