diff options
author | Bill Paul <wpaul@FreeBSD.org> | 1999-08-10 21:09:12 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 1999-08-10 21:09:12 +0000 |
commit | 8674aa45c7af5ae72713a42844f8b7463d6dfc59 (patch) | |
tree | 188c203ffbeed1d75de32d0386d12ba46b727340 /sys/modules | |
parent | 08339b4fa4529ed2e039bd30084000c225588988 (diff) | |
download | src-8674aa45c7af5ae72713a42844f8b7463d6dfc59.tar.gz src-8674aa45c7af5ae72713a42844f8b7463d6dfc59.zip |
Convert the Winbond driver to newbus and have it compiled as a module.
Notes
Notes:
svn path=/head/; revision=49611
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 431bacb5d4c7..3d7e96e199d9 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 000000000000..862449c77861 --- /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> |