summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-07-06 07:49:41 +0000
committerdelphij <delphij@FreeBSD.org>2013-07-06 07:49:41 +0000
commit15305ee17a52c5aff766233b5bd90835275f3f61 (patch)
tree96b562f1d4d48fac0e33d652a9a716040b9e686c /sys/modules
parente230264804255d83002a365f47f735bb48f3687e (diff)
downloadFreeBSD-src-15305ee17a52c5aff766233b5bd90835275f3f61.zip
FreeBSD-src-15305ee17a52c5aff766233b5bd90835275f3f61.tar.gz
Import HighPoint DC Series Data Center HBA (DC7280 and R750) driver.
This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver. MFC after: 1 day
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile3
-rw-r--r--sys/modules/hpt27xx/Makefile2
-rw-r--r--sys/modules/hptnr/Makefile14
3 files changed, 18 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 43bc838..77e541c 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -123,6 +123,7 @@ SUBDIR= \
${_hpt27xx} \
${_hptiop} \
${_hptmv} \
+ ${_hptnr} \
${_hptrr} \
hwpmc \
${_i2c} \
@@ -569,6 +570,7 @@ _hpt27xx= hpt27xx
_hptiop= hptiop
.if ${MK_SOURCELESS_HOST} != "no"
_hptmv= hptmv
+_hptnr= hptnr
_hptrr= hptrr
.endif
_ichwd= ichwd
@@ -666,6 +668,7 @@ _hpt27xx= hpt27xx
_hptiop= hptiop
.if ${MK_SOURCELESS_HOST} != "no"
_hptmv= hptmv
+_hptnr= hptnr
_hptrr= hptrr
.endif
_i2c= i2c
diff --git a/sys/modules/hpt27xx/Makefile b/sys/modules/hpt27xx/Makefile
index 82b51408..3f7899d 100644
--- a/sys/modules/hpt27xx/Makefile
+++ b/sys/modules/hpt27xx/Makefile
@@ -5,7 +5,7 @@ HPT27XX= ${.CURDIR}/../../dev/hpt27xx
KMOD= hpt27xx
SRCS= bus_if.h device_if.h pci_if.h
SRCS+= opt_cam.h opt_scsi.h
-SRCS+= os_bsd.h os_bsd.c osm_bsd.c hpt27xx_config.c
+SRCS+= os_bsd.h hpt27xx_os_bsd.c hpt27xx_osm_bsd.c hpt27xx_config.c
OBJS+= hpt27xx_lib.o
hpt27xx_lib.o:
diff --git a/sys/modules/hptnr/Makefile b/sys/modules/hptnr/Makefile
new file mode 100644
index 0000000..9279fbd
--- /dev/null
+++ b/sys/modules/hptnr/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+HPTNR= ${.CURDIR}/../../dev/hptnr
+.PATH: ${HPTNR}
+
+KMOD= hptnr
+SRCS= bus_if.h device_if.h pci_if.h
+SRCS+= opt_cam.h opt_scsi.h
+SRCS+= os_bsd.h hptnr_os_bsd.c hptnr_osm_bsd.c hptnr_config.c
+OBJS+= hptnr_lib.o
+
+hptnr_lib.o:
+ uudecode -p < ${HPTNR}/${MACHINE_ARCH}-elf.hptnr_lib.o.uu > ${.TARGET}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud