diff options
-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. */ |