SCSI_DELAY cleanup

Julian Elischer julian at freebsd.org
Wed Oct 20 00:57:34 UTC 2010


  On 10/19/10 5:39 PM, Warner Losh wrote:
> opt_scsi.h isn't needed by aha or ahb either, so it can be deleted
> entirely from their module makefiles:
>

consider I write the original aha driver in 1991 and it is an ISA device,
one wonders if there are any users of this any more..

> 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>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>



More information about the freebsd-hackers mailing list