Add support for Planex FNW-3800-TX(CardBus 100M/10M).

Submitted by:	Kunihiro Arai <araik@attglobal.net>
Obtained from:	[bsd-nomads:16625]
This commit is contained in:
MIHIRA Sanpei Yoshiro 2003-03-18 14:57:09 +00:00
parent 7044784ba2
commit 1017eea32d
2 changed files with 14 additions and 1 deletions

View File

@ -158,6 +158,8 @@ static struct rl_type rl_devs[] = {
"Corega FEtherII CB-TXD" },
{ PEPPERCON_VENDORID, PEPPERCON_DEVICEID_ROLF,
"Peppercon AG ROL-F" },
{ PLANEX_VENDORID, PLANEX_DEVICEID_FNW3800TX,
"Planex FNW-3800-TX" },
{ 0, 0, NULL }
};
@ -987,7 +989,8 @@ rl_attach(dev)
rl_did == RT_DEVICEID_8138 || rl_did == DLINK_DEVICEID_530TXPLUS ||
rl_did == DLINK_DEVICEID_690TXD ||
rl_did == COREGA_DEVICEID_FETHERCBTXD ||
rl_did == COREGA_DEVICEID_FETHERIICBTXD)
rl_did == COREGA_DEVICEID_FETHERIICBTXD ||
rl_did == PLANEX_DEVICEID_FNW3800TX)
sc->rl_type = RL_8139;
else if (rl_did == RT_DEVICEID_8129)
sc->rl_type = RL_8129;

View File

@ -500,6 +500,16 @@ struct rl_softc {
*/
#define PEPPERCON_DEVICEID_ROLF 0x8139
/*
* Planex Communications, Inc. vendor ID
*/
#define PLANEX_VENDORID 0x14ea
/*
* Planex FNW-3800-TX device ID
*/
#define PLANEX_DEVICEID_FNW3800TX 0xab07
/*
* PCI low memory base and low I/O base register, and
* other PCI registers.