1*718cf2ccSPedro F. Giffuni /*- 2*718cf2ccSPedro F. Giffuni * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3*718cf2ccSPedro 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 * $FreeBSD$ 29b063a422SScott Long */ 30b063a422SScott Long #include <dev/hptrr/hptrr_config.h> 31b063a422SScott Long /**************************************************************************** 32b063a422SScott Long * config.c - auto-generated file 33b063a422SScott Long ****************************************************************************/ 34b063a422SScott Long #include <dev/hptrr/os_bsd.h> 35b063a422SScott Long 36b063a422SScott Long extern int init_module_him_rr2310pm(void); 37b063a422SScott Long extern int init_module_him_rr174x_rr2210pm(void); 38b063a422SScott Long extern int init_module_him_rr2522pm(void); 39b063a422SScott Long extern int init_module_him_rr2340(void); 40b063a422SScott Long extern int init_module_him_rr222x_rr2240(void); 41b063a422SScott Long extern int init_module_him_rr1720(void); 42b063a422SScott Long extern int init_module_him_rr232x(void); 43b063a422SScott Long extern int init_module_vdev_raw(void); 44b063a422SScott Long extern int init_module_partition(void); 45b063a422SScott Long extern int init_module_raid0(void); 46b063a422SScott Long extern int init_module_raid1(void); 47b063a422SScott Long extern int init_module_raid5(void); 48b063a422SScott Long extern int init_module_jbod(void); 49b063a422SScott Long 50b063a422SScott Long int init_config(void) 51b063a422SScott Long { 52b063a422SScott Long init_module_him_rr2310pm(); 53b063a422SScott Long init_module_him_rr174x_rr2210pm(); 54b063a422SScott Long init_module_him_rr2522pm(); 55b063a422SScott Long init_module_him_rr2340(); 56b063a422SScott Long init_module_him_rr222x_rr2240(); 57b063a422SScott Long init_module_him_rr1720(); 58b063a422SScott Long init_module_him_rr232x(); 59b063a422SScott Long init_module_vdev_raw(); 60b063a422SScott Long init_module_partition(); 61b063a422SScott Long init_module_raid0(); 62b063a422SScott Long init_module_raid1(); 63b063a422SScott Long init_module_raid5(); 64b063a422SScott Long init_module_jbod(); 65b063a422SScott Long return 0; 66b063a422SScott Long } 67b063a422SScott Long 68b063a422SScott Long char driver_name[] = "hptrr"; 694fdb276aSScott Long char driver_name_long[] = "RocketRAID 17xx/2xxx SATA controller driver"; 707d845ddeSColin Percival char driver_ver[] = "v1.2"; 71b063a422SScott Long int osm_max_targets = 0xff; 724fdb276aSScott Long 734fdb276aSScott Long 744fdb276aSScott Long int os_max_cache_size = 0x1000000; 75