From 3c64f4e5590358bac373ed04d9d0b32ba9b57bba Mon Sep 17 00:00:00 2001 From: wpaul Date: Sat, 24 Jul 1999 20:55:05 +0000 Subject: Add mx and ax modules for the Macronix and ASIX drivers and update the modules Makefile so they get built. --- sys/modules/Makefile | 7 ++++--- sys/modules/ax/Makefile | 28 ++++++++++++++++++++++++++++ sys/modules/mx/Makefile | 28 ++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 sys/modules/ax/Makefile create mode 100644 sys/modules/mx/Makefile (limited to 'sys/modules') 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 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 -- cgit v1.1