summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-24 20:55:05 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-24 20:55:05 +0000
commit3c64f4e5590358bac373ed04d9d0b32ba9b57bba (patch)
treeea00c8d9bec7c1be873c70ae83b3094304064738 /sys/modules
parentd9f6c8569ae57490417258dd2590db65bb9a9edb (diff)
downloadFreeBSD-src-3c64f4e5590358bac373ed04d9d0b32ba9b57bba.zip
FreeBSD-src-3c64f4e5590358bac373ed04d9d0b32ba9b57bba.tar.gz
Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile7
-rw-r--r--sys/modules/ax/Makefile28
-rw-r--r--sys/modules/mx/Makefile28
3 files changed, 60 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 1eb4e3d..eaeced9 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,9 +1,10 @@
-# $Id: Makefile,v 1.65 1999/06/24 05:21:19 grog Exp $
+# $Id: Makefile,v 1.66 1999/07/23 05:47:55 wpaul Exp $
# XXX present but broken: atapi ip_mroute_mod joy pcic
-SUBDIR= ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw kernfs \
- mfs msdos nfs ntfs nullfs portal procfs sk ti tl umapfs union vn xl
+SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
+ kernfs mfs msdos mx nfs ntfs nullfs portal procfs sk ti tl \
+ umapfs union vn xl
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"
diff --git a/sys/modules/ax/Makefile b/sys/modules/ax/Makefile
new file mode 100644
index 0000000..0f55ead
--- /dev/null
+++ b/sys/modules/ax/Makefile
@@ -0,0 +1,28 @@
+# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = ax
+SRCS = if_ax.c ax.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += ax.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+ax.h:
+ echo "#define NFXP 1" > ax.h
+
+bpf.h:
+ echo "#define NBPF 1" > bpf.h
+
+opt_bdg.h:
+ touch opt_bdg.h
+
+device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/device_if.m
+
+bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
+
+pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
+ perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/mx/Makefile b/sys/modules/mx/Makefile
new file mode 100644
index 0000000..d1e2261
--- /dev/null
+++ b/sys/modules/mx/Makefile
@@ -0,0 +1,28 @@
+# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = mx
+SRCS = if_mx.c mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+mx.h:
+ echo "#define NFXP 1" > mx.h
+
+bpf.h:
+ echo "#define NBPF 1" > bpf.h
+
+opt_bdg.h:
+ touch opt_bdg.h
+
+device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/device_if.m
+
+bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
+
+pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
+ perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud