Add support for Corega FEther CB-TXD (CardBus 100M/10M).

This commit is contained in:
Mitsuru IWASAKI 2002-09-06 16:38:06 +00:00
parent 77e55efba0
commit efd1491c3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103020
2 changed files with 13 additions and 1 deletions

View File

@ -156,6 +156,8 @@ static struct rl_type rl_devs[] = {
"D-Link DFE-690TXD 10/100BaseTX" },
{ NORTEL_VENDORID, ACCTON_DEVICEID_5030,
"Nortel Networks 10/100BaseTX" },
{ COREGA_VENDORID, COREGA_DEVICEID_CBTXD,
"Corega FEther CB-TXD" },
{ 0, 0, NULL }
};
@ -991,7 +993,7 @@ rl_attach(dev)
if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 ||
rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139 ||
rl_did == RT_DEVICEID_8138 || rl_did == DLINK_DEVICEID_530TXPLUS ||
rl_did == DLINK_DEVICEID_690TXD)
rl_did == DLINK_DEVICEID_690TXD || rl_did == COREGA_DEVICEID_CBTXD)
sc->rl_type = RL_8139;
else if (rl_did == RT_DEVICEID_8129)
sc->rl_type = RL_8129;

View File

@ -475,6 +475,16 @@ struct rl_softc {
*/
#define DLINK_DEVICEID_690TXD 0x1340
/*
* Corega K.K vendor ID
*/
#define COREGA_VENDORID 0x1259
/*
* Coreaga FEther CB-TXD device ID
*/
#define COREGA_DEVICEID_CBTXD 0xa117
/*
* PCI low memory base and low I/O base register, and
* other PCI registers.