1718cf2ccSPedro F. Giffuni /*-
2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause
3718cf2ccSPedro F. Giffuni *
4b063a422SScott Long * Copyright (c) HighPoint Technologies, Inc.
5b063a422SScott Long * All rights reserved.
6b063a422SScott Long *
7b063a422SScott Long * Redistribution and use in source and binary forms, with or without
8b063a422SScott Long * modification, are permitted provided that the following conditions
9b063a422SScott Long * are met:
10b063a422SScott Long * 1. Redistributions of source code must retain the above copyright
11b063a422SScott Long * notice, this list of conditions and the following disclaimer.
12b063a422SScott Long * 2. Redistributions in binary form must reproduce the above copyright
13b063a422SScott Long * notice, this list of conditions and the following disclaimer in the
14b063a422SScott Long * documentation and/or other materials provided with the distribution.
15b063a422SScott Long *
16b063a422SScott Long * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17b063a422SScott Long * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18b063a422SScott Long * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19b063a422SScott Long * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20b063a422SScott Long * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21b063a422SScott Long * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22b063a422SScott Long * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23b063a422SScott Long * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24b063a422SScott Long * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25b063a422SScott Long * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26b063a422SScott Long * SUCH DAMAGE.
27b063a422SScott Long */
28b063a422SScott Long #include <dev/hptrr/hptrr_config.h>
29b063a422SScott Long /****************************************************************************
30b063a422SScott Long * config.c - auto-generated file
31b063a422SScott Long ****************************************************************************/
32b063a422SScott Long #include <dev/hptrr/os_bsd.h>
33b063a422SScott Long
34b063a422SScott Long extern int init_module_him_rr2310pm(void);
35b063a422SScott Long extern int init_module_him_rr174x_rr2210pm(void);
36b063a422SScott Long extern int init_module_him_rr2522pm(void);
37b063a422SScott Long extern int init_module_him_rr2340(void);
38b063a422SScott Long extern int init_module_him_rr222x_rr2240(void);
39b063a422SScott Long extern int init_module_him_rr1720(void);
40b063a422SScott Long extern int init_module_him_rr232x(void);
41b063a422SScott Long extern int init_module_vdev_raw(void);
42b063a422SScott Long extern int init_module_partition(void);
43b063a422SScott Long extern int init_module_raid0(void);
44b063a422SScott Long extern int init_module_raid1(void);
45b063a422SScott Long extern int init_module_raid5(void);
46b063a422SScott Long extern int init_module_jbod(void);
47b063a422SScott Long
init_config(void)48b063a422SScott Long int init_config(void)
49b063a422SScott Long {
50b063a422SScott Long init_module_him_rr2310pm();
51b063a422SScott Long init_module_him_rr174x_rr2210pm();
52b063a422SScott Long init_module_him_rr2522pm();
53b063a422SScott Long init_module_him_rr2340();
54b063a422SScott Long init_module_him_rr222x_rr2240();
55b063a422SScott Long init_module_him_rr1720();
56b063a422SScott Long init_module_him_rr232x();
57b063a422SScott Long init_module_vdev_raw();
58b063a422SScott Long init_module_partition();
59b063a422SScott Long init_module_raid0();
60b063a422SScott Long init_module_raid1();
61b063a422SScott Long init_module_raid5();
62b063a422SScott Long init_module_jbod();
63b063a422SScott Long return 0;
64b063a422SScott Long }
65b063a422SScott Long
66b063a422SScott Long char driver_name[] = "hptrr";
674fdb276aSScott Long char driver_name_long[] = "RocketRAID 17xx/2xxx SATA controller driver";
687d845ddeSColin Percival char driver_ver[] = "v1.2";
69b063a422SScott Long int osm_max_targets = 0xff;
704fdb276aSScott Long
714fdb276aSScott Long
724fdb276aSScott Long int os_max_cache_size = 0x1000000;
73