xref: /freebsd/sys/dev/hpt27xx/hpt27xx_config.c (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
181966bceSXin LI /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3718cf2ccSPedro F. Giffuni  *
481966bceSXin LI  * Copyright (c) 2011 HighPoint Technologies, Inc.
581966bceSXin LI  * All rights reserved.
681966bceSXin LI  *
781966bceSXin LI  * Redistribution and use in source and binary forms, with or without
881966bceSXin LI  * modification, are permitted provided that the following conditions
981966bceSXin LI  * are met:
1081966bceSXin LI  * 1. Redistributions of source code must retain the above copyright
1181966bceSXin LI  *    notice, this list of conditions and the following disclaimer.
1281966bceSXin LI  * 2. Redistributions in binary form must reproduce the above copyright
1381966bceSXin LI  *    notice, this list of conditions and the following disclaimer in the
1481966bceSXin LI  *    documentation and/or other materials provided with the distribution.
1581966bceSXin LI  *
1681966bceSXin LI  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1781966bceSXin LI  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1881966bceSXin LI  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1981966bceSXin LI  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2081966bceSXin LI  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2181966bceSXin LI  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2281966bceSXin LI  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2381966bceSXin LI  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2481966bceSXin LI  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2581966bceSXin LI  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2681966bceSXin LI  * SUCH DAMAGE.
2781966bceSXin LI  */
2881966bceSXin LI 
2981966bceSXin LI #include <dev/hpt27xx/hpt27xx_config.h>
3081966bceSXin LI /****************************************************************************
3181966bceSXin LI  * config.c - auto-generated file
3281966bceSXin LI  ****************************************************************************/
3381966bceSXin LI #include <dev/hpt27xx/os_bsd.h>
3481966bceSXin LI 
3581966bceSXin LI extern int init_module_him_rr2720(void);
3681966bceSXin LI extern int init_module_him_rr273x(void);
3781966bceSXin LI extern int init_module_him_rr276x(void);
3881966bceSXin LI extern int init_module_him_rr278x(void);
3981966bceSXin LI extern int init_module_vdev_raw(void);
4081966bceSXin LI extern int init_module_partition(void);
4181966bceSXin LI extern int init_module_raid0(void);
4281966bceSXin LI extern int init_module_raid1(void);
4381966bceSXin LI extern int init_module_raid5(void);
4481966bceSXin LI extern int init_module_jbod(void);
4581966bceSXin LI 
init_config(void)4681966bceSXin LI int init_config(void)
4781966bceSXin LI {
4881966bceSXin LI 	init_module_him_rr2720();
4981966bceSXin LI 	init_module_him_rr273x();
5081966bceSXin LI 	init_module_him_rr276x();
5181966bceSXin LI 	init_module_him_rr278x();
5281966bceSXin LI 	init_module_vdev_raw();
5381966bceSXin LI 	init_module_partition();
5481966bceSXin LI 	init_module_raid0();
5581966bceSXin LI 	init_module_raid1();
5681966bceSXin LI 	init_module_raid5();
5781966bceSXin LI 	init_module_jbod();
5881966bceSXin LI 	return 0;
5981966bceSXin LI }
6081966bceSXin LI 
618ec81e39SXin LI const char driver_name[] = "hpt27xx";
628ec81e39SXin LI const char driver_name_long[] = "RocketRAID 27xx controller driver";
63ea10ca89SXin LI const char driver_ver[] = "v1.2.8";
6481966bceSXin LI int  osm_max_targets = 0xff;
6581966bceSXin LI 
6681966bceSXin LI 
6781966bceSXin LI int os_max_cache_size = 0x1000000;
68