SCSI_DELAY cleanup

Warner Losh imp at bsdimp.com
Wed Oct 20 00:45:10 UTC 2010


opt_scsi.h isn't needed by aha or ahb either, so it can be deleted
entirely from their module makefiles:

Index: aha/Makefile
===================================================================
--- aha/Makefile	(revision 214058)
+++ aha/Makefile	(working copy)
@@ -4,11 +4,6 @@
 
 KMOD=	aha
 SRCS=	aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \
-	opt_scsi.h isa_if.h
+	isa_if.h
 
-.if !defined(KERNBUILDDIR)
-opt_scsi.h:
-	echo "#define SCSI_DELAY 15000" > ${.TARGET}
-.endif
-
 .include <bsd.kmod.mk>
Index: ahb/Makefile
===================================================================
--- ahb/Makefile	(revision 214058)
+++ ahb/Makefile	(working copy)
@@ -3,11 +3,6 @@
 .PATH: ${.CURDIR}/../../dev/ahb
 
 KMOD=	ahb
-SRCS=	ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h opt_scsi.h
+SRCS=	ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h
 
-.if !defined(KERNBUILDDIR)
-opt_scsi.h:
-	echo "#define SCSI_DELAY 15000" > ${.TARGET}
-.endif
-
 .include <bsd.kmod.mk>


More information about the freebsd-hackers mailing list