summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-12-15 20:09:10 +0000
committerwpaul <wpaul@FreeBSD.org>2000-12-15 20:09:10 +0000
commit3ba915a3043605332722e05c5fbf838b28b21227 (patch)
tree86b6f466f06341282d19403c6739f8cd860b7fbd /sys/modules
parentcdfe59aac6cf43a9d742f76d7486a953d0f0d060 (diff)
downloadFreeBSD-src-3ba915a3043605332722e05c5fbf838b28b21227.zip
FreeBSD-src-3ba915a3043605332722e05c5fbf838b28b21227.tar.gz
Newbus the if_el (3Com 3c501) driver. Use bus_space_X() functions.
Add detach routine and turn driver into a module so it can be loaded and unloaded. Also take a stab at implementing multicast packet reception so that this NIC will work with IPv6. Promiscuous mode doesn't seem to work, but I'm not sure why. It works well enough that I can run dhclient on it and put it on the office network though. Also ripped out spl stuff and replaced it with mutexes.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/el/Makefile8
2 files changed, 9 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 631f6d3..a40f0f4 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -7,7 +7,7 @@ _random= random
.endif
SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
- cam ccd cd9660 coda cue dc de ed fdesc fxp if_disc if_ef \
+ cam ccd cd9660 coda cue dc de ed el fdesc fxp if_disc if_ef \
if_ppp if_sl if_tap if_tun ip6fw ipfilter ipfw ispfw joy kernfs kue \
linux md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
nwfs pcn portal procfs ${_random} \
diff --git a/sys/modules/el/Makefile b/sys/modules/el/Makefile
new file mode 100644
index 0000000..17c4a42
--- /dev/null
+++ b/sys/modules/el/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../i386/isa
+KMOD = if_el
+SRCS = if_el.c
+SRCS += opt_bdg.h opt_inet.h opt_ipx.h device_if.h bus_if.h isa_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud