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/dev/rr232x/rr232x_config.c | |
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/dev/rr232x/rr232x_config.c')
-rw-r--r-- | sys/dev/rr232x/rr232x_config.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/dev/rr232x/rr232x_config.c b/sys/dev/rr232x/rr232x_config.c new file mode 100644 index 0000000..32204ba --- /dev/null +++ b/sys/dev/rr232x/rr232x_config.c @@ -0,0 +1,31 @@ +#include <dev/rr232x/rr232x_config.h> +/**************************************************************************** + * config.c - auto-generated file + * $FreeBSD$ + ****************************************************************************/ +#include <dev/rr232x/os_bsd.h> + +extern int init_module_him_sx508x(void); +extern int init_module_vdev_raw(void); +extern int init_module_partition(void); +extern int init_module_raid0(void); +extern int init_module_raid1(void); +extern int init_module_raid5(void); +extern int init_module_jbod(void); + +int init_config(void) +{ + init_module_him_sx508x(); + init_module_vdev_raw(); + init_module_partition(); + init_module_raid0(); + init_module_raid1(); + init_module_raid5(); + init_module_jbod(); + return 0; +} + +char driver_name[] = "rr232x"; +char driver_name_long[] = "RocketRAID 232x controller driver"; +char driver_ver[] = "v1.02 (" __DATE__ " " __TIME__ ")"; +int osm_max_targets = 0xff; |