summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-09-28 02:45:34 +0000
committerimp <imp@FreeBSD.org>1999-09-28 02:45:34 +0000
commitef5c865ec5f1f5860f4cc9cf0549476a40aec398 (patch)
tree8be7bbe5270a5718048c58a77b16609abe142c17
parent6565c98a63ad3071721a988183a65ad874c75fae (diff)
downloadFreeBSD-src-ef5c865ec5f1f5860f4cc9cf0549476a40aec398.zip
FreeBSD-src-ef5c865ec5f1f5860f4cc9cf0549476a40aec398.tar.gz
/tmp/cvswGS523
-rw-r--r--sys/modules/Makefile6
-rw-r--r--sys/modules/aha/Makefile29
2 files changed, 32 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index e76dc05..365719d 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -2,9 +2,9 @@
# XXX present but broken: atapi ip_mroute_mod joy pcic
-SUBDIR= ax al ccd cd9660 coda dm fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
- kernfs md mfs mii msdos mx nfs ntfs nullfs pn portal procfs rl sf \
- sis sk ste ti tl umapfs union vn vr wb xl
+SUBDIR= aha al ax ccd cd9660 coda dm fdesc fxp if_disc if_ppp if_sl if_tun \
+ ipfw kernfs md mfs mii msdos mx nfs ntfs nullfs pn portal procfs rl \
+ sf sis sk ste ti 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/aha/Makefile b/sys/modules/aha/Makefile
new file mode 100644
index 0000000..e0d4f3f
--- /dev/null
+++ b/sys/modules/aha/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/dev/aha
+KMOD = aha
+SRCS = aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \
+ opt_scsi.h isa_if.h
+CLEANFILES += aha.h device_if.h bus_if.h opt_cam.h opt_scsi.h isa_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+aha.h:
+ echo "#define NAHA 1" > aha.h
+
+opt_cam.h:
+ touch opt_cam.h
+
+opt_scsi.h:
+ echo "#define SCSI_DELAY 15000" > opt_scsi.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
+
+isa_if.h: $S/kern/makedevops.pl $S/isa/isa_if.m
+ perl $S/kern/makedevops.pl -h $S/isa/isa_if.m
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud