diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-08-10 21:09:12 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-08-10 21:09:12 +0000 |
commit | 6a2207962296b0bb1511d70a21840c049ea9d2de (patch) | |
tree | e136ee264705f0e743bf056f2dabd9b07efad06d /sys/modules | |
parent | 77daf56af9591a9c07c989b51b7511c07d8f3e47 (diff) | |
download | FreeBSD-src-6a2207962296b0bb1511d70a21840c049ea9d2de.zip FreeBSD-src-6a2207962296b0bb1511d70a21840c049ea9d2de.tar.gz |
Convert the Winbond driver to newbus and have it compiled as a module.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/wb/Makefile | 28 |
2 files changed, 30 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 431bacb..3d7e96e 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.69 1999/07/28 02:21:55 wpaul Exp $ +# $Id: Makefile,v 1.70 1999/08/10 17:15:11 wpaul Exp $ # XXX present but broken: atapi ip_mroute_mod joy pcic SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \ kernfs mfs msdos mx nfs ntfs nullfs pn portal procfs sf sk ti \ - tl umapfs union vn vr xl + tl umapfs union vn vr wb xl # XXX some of these can move to the general case when de-i386'ed .if ${MACHINE_ARCH} == "i386" diff --git a/sys/modules/wb/Makefile b/sys/modules/wb/Makefile new file mode 100644 index 0000000..862449c --- /dev/null +++ b/sys/modules/wb/Makefile @@ -0,0 +1,28 @@ +# $Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $ + +S = ${.CURDIR}/../.. +.PATH: $S/pci +KMOD = wb +SRCS = if_wb.c wb.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CLEANFILES += wb.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h +CFLAGS += ${DEBUG_FLAGS} + +wb.h: + echo "#define NWB 1" > wb.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> |