summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-09-06 16:38:06 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-09-06 16:38:06 +0000
commit7b8af445886ca09a89ca16addcd5ad16d787f9f8 (patch)
tree2f4cf5d9fa473aa0eb9726ab5cc7b65539afd3c2 /sys/pci
parenta7f04bb2b79fce3619508825b96c5564b044a9cf (diff)
downloadFreeBSD-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.c4
-rw-r--r--sys/pci/if_rlreg.h10
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.
*/
OpenPOWER on IntegriCloud