diff options
author | achim <achim@FreeBSD.org> | 2013-05-24 09:22:43 +0000 |
---|---|---|
committer | achim <achim@FreeBSD.org> | 2013-05-24 09:22:43 +0000 |
commit | 10ab6671008c9ae3ac81b60ae8fde39d2aa133ad (patch) | |
tree | 8bf15f63d33c02d7e556aa6725fc410c0f737892 /sys/modules | |
parent | 00b2cf3075ac519216e0765eb8a9b7b8f686830d (diff) | |
download | FreeBSD-src-10ab6671008c9ae3ac81b60ae8fde39d2aa133ad.zip FreeBSD-src-10ab6671008c9ae3ac81b60ae8fde39d2aa133ad.tar.gz |
Driver 'aacraid' added. Supports Adaptec by PMC RAID controller families Series 6, 7, 8 and upcoming products. Older Adaptec RAID controller families are supported by the 'aac' driver.
Approved by: scottl (mentor)
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/aacraid/Makefile | 18 | ||||
-rw-r--r-- | sys/modules/aacraid/Makefile.inc | 3 | ||||
-rw-r--r-- | sys/modules/aacraid/aacraid_linux/Makefile | 8 |
4 files changed, 33 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index e68d9fa..d25ead2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -9,6 +9,7 @@ SUBDIR= \ ${_3dfx} \ ${_3dfx_linux} \ ${_aac} \ + ${_aacraid} \ accf_data \ accf_dns \ accf_http \ @@ -534,6 +535,7 @@ _zfs= zfs .endif .if ${MACHINE} == "i386" _aac= aac +_aacraid= aacraid _acpi= acpi .if ${MK_CRYPT} != "no" || defined(ALL_MODULES) _aesni= aesni @@ -616,6 +618,7 @@ _snc= snc .if ${MACHINE_CPUARCH} == "amd64" _aac= aac +_aacraid= aacraid _aout= aout _acpi= acpi .if ${MK_CRYPT} != "no" || defined(ALL_MODULES) @@ -747,6 +750,7 @@ _cpsw= cpsw .if ${MACHINE_CPUARCH} == "ia64" _aac= aac +_aacraid= aacraid _aic= aic _an= an _arcnet= arcnet diff --git a/sys/modules/aacraid/Makefile b/sys/modules/aacraid/Makefile new file mode 100644 index 0000000..d0da1c2 --- /dev/null +++ b/sys/modules/aacraid/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/aacraid + +.if ${MACHINE_CPUARCH} == "i386" +SUBDIR= aacraid_linux +.endif + +KMOD= aacraid +SRCS= aacraid.c aacraid_pci.c aacraid_cam.c +SRCS+= opt_scsi.h opt_cam.h opt_aacraid.h +SRCS+= device_if.h bus_if.h pci_if.h + +# To enable debug output from the driver, uncomment these two lines. +#CFLAGS+= -DAACRAID_DEBUG=2 +#SRCS+= aacraid_debug.c + +.include <bsd.kmod.mk> diff --git a/sys/modules/aacraid/Makefile.inc b/sys/modules/aacraid/Makefile.inc new file mode 100644 index 0000000..265f86d --- /dev/null +++ b/sys/modules/aacraid/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +.include "../Makefile.inc" diff --git a/sys/modules/aacraid/aacraid_linux/Makefile b/sys/modules/aacraid/aacraid_linux/Makefile new file mode 100644 index 0000000..7a8b416 --- /dev/null +++ b/sys/modules/aacraid/aacraid_linux/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../dev/aacraid + +KMOD= aacraid_linux +SRCS= aacraid_linux.c + +.include <bsd.kmod.mk> |