From 6de3633d944db2576d517db9f4b51a88a9df6670 Mon Sep 17 00:00:00 2001 From: scottl Date: Mon, 3 Nov 2008 00:53:54 +0000 Subject: Move the CAM passthrough code into a true module so that it doesn't have to be compiled into the main AMR driver. It's code that is nice to have but not required for normal operation, and it is reported to cause problems for some people. --- sys/modules/amr/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/modules') diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile index 107a099..c6b3d03 100644 --- a/sys/modules/amr/Makefile +++ b/sys/modules/amr/Makefile @@ -2,15 +2,16 @@ .PATH: ${.CURDIR}/../../dev/amr +SUBDIR= amr_cam .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" -SUBDIR= amr_linux +SUBDIR+= amr_linux .endif KMOD= amr SRCS= amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h # SCSI passthrough support for non-disk devices -SRCS+= amr_cam.c opt_cam.h opt_scsi.h +#SRCS+= amr_cam.c opt_cam.h opt_scsi.h # Enable a questionable optimisation for newer adapters #CFLAGS+= -DAMR_QUARTZ_GOFASTER -- cgit v1.1