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

This commit is contained in:
iwasaki 2002-09-06 16:38:06 +00:00
parent a7f04bb2b7
commit 7b8af44588
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.