diff options
author | sanpei <sanpei@FreeBSD.org> | 2003-03-18 14:57:09 +0000 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2003-03-18 14:57:09 +0000 |
commit | 742fa97d3e009877e7aefd4059a43e8c0d5d92a0 (patch) | |
tree | 16edcdc9fc618988c84ffd78720d0422a4ef6b46 | |
parent | 1595556df08e0399bc474a9f26d1ac05925cec2d (diff) | |
download | FreeBSD-src-742fa97d3e009877e7aefd4059a43e8c0d5d92a0.zip FreeBSD-src-742fa97d3e009877e7aefd4059a43e8c0d5d92a0.tar.gz |
Add support for Planex FNW-3800-TX(CardBus 100M/10M).
Submitted by: Kunihiro Arai <araik@attglobal.net>
Obtained from: [bsd-nomads:16625]
-rw-r--r-- | sys/pci/if_rl.c | 5 | ||||
-rw-r--r-- | sys/pci/if_rlreg.h | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 6d2c59e..58e998e 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -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; diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 7fca3ca..3cf5a7c 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -501,6 +501,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. */ |