summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/amr/Makefile3
-rw-r--r--sys/modules/amr/amr_cam/Makefile9
2 files changed, 9 insertions, 3 deletions
diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile
index c6b3d03..4c31997 100644
--- a/sys/modules/amr/Makefile
+++ b/sys/modules/amr/Makefile
@@ -10,9 +10,6 @@ SUBDIR+= amr_linux
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
-
# Enable a questionable optimisation for newer adapters
#CFLAGS+= -DAMR_QUARTZ_GOFASTER
diff --git a/sys/modules/amr/amr_cam/Makefile b/sys/modules/amr/amr_cam/Makefile
new file mode 100644
index 0000000..b7aaee8
--- /dev/null
+++ b/sys/modules/amr/amr_cam/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/amr
+
+KMOD= amr_cam
+SRCS= amr_cam.c device_if.h bus_if.h
+SRCS+= opt_cam.h opt_scsi.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud