summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-09-09 18:17:23 +0000
committerwpaul <wpaul@FreeBSD.org>2003-09-09 18:17:23 +0000
commitfc3a8934ee799891fce3717b06b9a7d3e5530c1e (patch)
treee411fd06681e58e4a398845eb6bba9231c7b4a12 /sys/dev/mii
parent16a69608057239baa70babc08a9145399430407c (diff)
downloadFreeBSD-src-fc3a8934ee799891fce3717b06b9a7d3e5530c1e.zip
FreeBSD-src-fc3a8934ee799891fce3717b06b9a7d3e5530c1e.tar.gz
Add a device driver for the Broadcom BCM4401 ethernet controller,
written by Stuart Walsh and Duncan Barclay (with some kibbitzing by me). I'm checking it in on Stuart's behalf. The BCM4401 is built into several x86 laptop and desktop systems. For the moment, I have only enabled it in the x86 kernel config because although it's a PCI device, I haven't heard of any standalone NICs that use it. If somebody knows of one, we can easily add it to the other arches. This driver uses register/structure data gleaned from the Linux driver released by Broadcom, but does not contain any of the code from the Linux driver itself. It uses busdma.
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/bmtphy.c3
-rw-r--r--sys/dev/mii/miidevs1
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mii/bmtphy.c b/sys/dev/mii/bmtphy.c
index 988793e..df5bdc5 100644
--- a/sys/dev/mii/bmtphy.c
+++ b/sys/dev/mii/bmtphy.c
@@ -146,6 +146,9 @@ bmtphy_probe(device_t dev)
case MII_MODEL_BROADCOM_BCM5221:
device_set_desc(dev, MII_STR_BROADCOM_BCM5221);
break;
+ case MII_MODEL_BROADCOM_BCM4401:
+ device_set_desc(dev, MII_STR_BROADCOM_BCM4401);
+ break;
default:
return (ENXIO);
}
diff --git a/sys/dev/mii/miidevs b/sys/dev/mii/miidevs
index d57c890..cf86bef 100644
--- a/sys/dev/mii/miidevs
+++ b/sys/dev/mii/miidevs
@@ -110,6 +110,7 @@ model BROADCOM 3C905B 0x0012 3c905B 10/100 internal PHY
model BROADCOM 3C905C 0x0017 3c905C 10/100 internal PHY
model BROADCOM BCM5201 0x0021 BCM5201 10/100baseTX PHY
model BROADCOM BCM5221 0x001e BCM5221 10/100baseTX PHY
+model BROADCOM BCM4401 0x0036 BCM4401 10/100baseTX PHY
model xxBROADCOM BCM5400 0x0004 Broadcom 1000baseTX PHY
model xxBROADCOM BCM5401 0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411 0x0007 BCM5411 10/100/1000baseTX PHY
OpenPOWER on IntegriCloud