summaryrefslogtreecommitdiffstats
path: root/sys/modules/amr
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-10-07 02:23:12 +0000
committermsmith <msmith@FreeBSD.org>1999-10-07 02:23:12 +0000
commit8582d1db60ab1514e7c997b5a7dacb44520e0e2f (patch)
treea348a3683a759ad26e14e05d75e8499a16887e46 /sys/modules/amr
parent685ad456458d562e46df50ddeed3eb1681377f14 (diff)
downloadFreeBSD-src-8582d1db60ab1514e7c997b5a7dacb44520e0e2f.zip
FreeBSD-src-8582d1db60ab1514e7c997b5a7dacb44520e0e2f.tar.gz
This is a driver for the AMI MegaRAID family of controllers. It all of
the AMI PCI controllers using the 8LD firmware interface (40LD firmware will be supported as soon as I have hardware to test with). These controllers are rebadged by Dell as the PERC, as well as by HP and possibly other vendors.
Diffstat (limited to 'sys/modules/amr')
-rw-r--r--sys/modules/amr/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile
new file mode 100644
index 0000000..f769bdc
--- /dev/null
+++ b/sys/modules/amr/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/dev/amr
+KMOD = amr
+SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
+CLEANFILES += amr.h device_if.h bus_if.h pci_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+amr.h:
+ echo "#define NAMR 1" > amr.h
+
+device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/device_if.m
+
+bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
+
+pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
+ perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud