diff options
author | sanpei <sanpei@FreeBSD.org> | 2003-01-11 07:10:35 +0000 |
---|---|---|
committer | sanpei <sanpei@FreeBSD.org> | 2003-01-11 07:10:35 +0000 |
commit | 361d92fd5049f1a25147a1e12abd01bb3b7c9b4b (patch) | |
tree | 098443fe1b7c9ed7565be9c7e974559d378a1606 /sys | |
parent | 6aae58cc9a256138670ee7f582d50aed61aa2e00 (diff) | |
download | FreeBSD-src-361d92fd5049f1a25147a1e12abd01bb3b7c9b4b.zip FreeBSD-src-361d92fd5049f1a25147a1e12abd01bb3b7c9b4b.tar.gz |
Add support for Corega FEtherII CB-TXD (CardBus 100M/10M).
Fix typo (Coreaga->Corega)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pci/if_rl.c | 7 | ||||
-rw-r--r-- | sys/pci/if_rlreg.h | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 18d85e1..3f83855 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -157,8 +157,10 @@ 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_VENDORID, COREGA_DEVICEID_FETHERCBTXD, "Corega FEther CB-TXD" }, + { COREGA_VENDORID, COREGA_DEVICEID_FETHERIICBTXD, + "Corega FEtherII CB-TXD" }, { 0, 0, NULL } }; @@ -986,7 +988,8 @@ 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 == COREGA_DEVICEID_CBTXD) + rl_did == DLINK_DEVICEID_690TXD || rl_did == COREGA_DEVICEID_CBTXD || + 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 5e096ac..4fb36a2 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -481,9 +481,16 @@ struct rl_softc { #define COREGA_VENDORID 0x1259 /* - * Coreaga FEther CB-TXD device ID + * Corega FEther CB-TXD device ID */ -#define COREGA_DEVICEID_CBTXD 0xa117 +#define COREGA_DEVICEID_FETHERCBTXD 0xa117 + +/* + * Corega FEtherII CB-TXD device ID + */ +#define COREGA_DEVICEID_FETHERIICBTXD 0xa11e + + /* * PCI low memory base and low I/O base register, and |