summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/bmtphy.c
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/bmtphy.c
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/bmtphy.c')
-rw-r--r--sys/dev/mii/bmtphy.c3
1 files changed, 3 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);
}
OpenPOWER on IntegriCloud