summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2008-11-03 00:53:54 +0000
committerscottl <scottl@FreeBSD.org>2008-11-03 00:53:54 +0000
commit6de3633d944db2576d517db9f4b51a88a9df6670 (patch)
treed8bbdf137911f37c46a1ac784c971f0fa237d5f7 /sys/modules
parentbd5c63c83ea976832f7550a827fef3e15159b558 (diff)
downloadFreeBSD-src-6de3633d944db2576d517db9f4b51a88a9df6670.zip
FreeBSD-src-6de3633d944db2576d517db9f4b51a88a9df6670.tar.gz
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.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/amr/Makefile5
1 files changed, 3 insertions, 2 deletions
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
OpenPOWER on IntegriCloud