diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-09-06 16:38:06 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-09-06 16:38:06 +0000 |
commit | 7b8af445886ca09a89ca16addcd5ad16d787f9f8 (patch) | |
tree | 2f4cf5d9fa473aa0eb9726ab5cc7b65539afd3c2 /sys/pci | |
parent | a7f04bb2b79fce3619508825b96c5564b044a9cf (diff) | |
download | FreeBSD-src-7b8af445886ca09a89ca16addcd5ad16d787f9f8.zip FreeBSD-src-7b8af445886ca09a89ca16addcd5ad16d787f9f8.tar.gz |
Add support for Corega FEther CB-TXD (CardBus 100M/10M).
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_rl.c | 4 | ||||
-rw-r--r-- | sys/pci/if_rlreg.h | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 4d2961a..0e32d90 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -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; diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 19b1852..5e096ac 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -476,6 +476,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. */ |