From 2266d743ca248b70482370582917eef70c02b9a1 Mon Sep 17 00:00:00 2001 From: scottl Date: Thu, 27 Apr 2006 20:22:46 +0000 Subject: 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. --- sys/modules/Makefile | 2 ++ sys/modules/rr232x/Makefile | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 sys/modules/rr232x/Makefile (limited to 'sys/modules') 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 -- cgit v1.1