diff options
author | scottl <scottl@FreeBSD.org> | 2006-04-27 20:22:46 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2006-04-27 20:22:46 +0000 |
commit | 2266d743ca248b70482370582917eef70c02b9a1 (patch) | |
tree | a59a10bf18bb6108b05a7d72d596a06c5771167f /sys/modules | |
parent | e5dcb864130a51a5ddd8563c372f89b010ad95d7 (diff) | |
download | FreeBSD-src-2266d743ca248b70482370582917eef70c02b9a1.zip FreeBSD-src-2266d743ca248b70482370582917eef70c02b9a1.tar.gz |
Add the 'rr232x' driver for the HighPoint RocketRAID 2320 series of cards.
This driver was generously developed and donated by Highpoint.
It is enabled for i386 only at the moment. I will enable it for amd64
shortly.
Obtained from: HighPoint Technologies, Inc.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/rr232x/Makefile | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 5c636a8..7e25bb2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -205,6 +205,7 @@ SUBDIR= ${_3dfx} \ reiserfs \ rl \ rp \ + ${_rr232x} \ rue \ ${_s3} \ ${_safe} \ @@ -419,6 +420,7 @@ _nve= nve _padlock= padlock .endif .endif +_rr232x= rr232x _s3= s3 _twa= twa _vesa= vesa diff --git a/sys/modules/rr232x/Makefile b/sys/modules/rr232x/Makefile new file mode 100644 index 0000000..0b4903d --- /dev/null +++ b/sys/modules/rr232x/Makefile @@ -0,0 +1,22 @@ +# $Id: Makefile.def,v 1.14 2006/04/06 09:23:49 gmm Exp $ +# $FreeBSD$ + +RR232X= ${.CURDIR}/../../dev/rr232x +PATH: ${RR232X} + +KMOD = rr232x +SRCS = opt_scsi.h opt_cam.h bus_if.h device_if.h pci_if.h os_bsd.h os_bsd.c osm_bsd.c rr232x_config.c +OBJS = rr232x_lib.o + +ARCH ?= $(MACHINE_ARCH) +.if $(MACHINE_ARCH)!=$(ARCH) +HOSTARCH != uname -m +CROSS_COMPILE ?= /usr/obj/$(ARCH)/usr/src/$(HOSTARCH)/usr/bin/ +.MAKEFLAGS: MACHINE_ARCH=$(ARCH) CC=$(CROSS_COMPILE)$(CC) LD=$(CROSS_COMPILE)$(LD)\ + NM=$(CROSS_COMPILE)nm OBJCOPY=$(CROSS_COMPILE)objcopy +.endif + +rr232x_lib.o: + uudecode -p < ${RR232X}/$(MACHINE_ARCH)-elf.rr232x_lib.o.uu > ${.TARGET} + +.include <bsd.kmod.mk> |