1174604Sscottl/*
2174604Sscottl * Copyright (c) HighPoint Technologies, Inc.
3174604Sscottl * All rights reserved.
4174604Sscottl *
5174604Sscottl * Redistribution and use in source and binary forms, with or without
6174604Sscottl * modification, are permitted provided that the following conditions
7174604Sscottl * are met:
8174604Sscottl * 1. Redistributions of source code must retain the above copyright
9174604Sscottl *    notice, this list of conditions and the following disclaimer.
10174604Sscottl * 2. Redistributions in binary form must reproduce the above copyright
11174604Sscottl *    notice, this list of conditions and the following disclaimer in the
12174604Sscottl *    documentation and/or other materials provided with the distribution.
13174604Sscottl *
14174604Sscottl * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15174604Sscottl * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16174604Sscottl * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17174604Sscottl * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18174604Sscottl * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19174604Sscottl * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20174604Sscottl * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21174604Sscottl * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22174604Sscottl * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23174604Sscottl * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24174604Sscottl * SUCH DAMAGE.
25174604Sscottl *
26174604Sscottl * $FreeBSD: releng/11.0/sys/dev/hptrr/hptrr_config.h 176018 2008-02-06 01:02:20Z scottl $
27174604Sscottl */
28174604Sscottl#ifndef hptrr_CONFIG_H
29174604Sscottl#define hptrr_CONFIG_H
30174604Sscottl#define SUPPORT_ARRAY
31174604Sscottl#define __KERNEL__ 1
32174604Sscottl#define DRIVER_MINOR 16
33174604Sscottl#define TARGETNAME hptrr
34174604Sscottl#define __dummy_reg hptrr___dummy_reg
35174604Sscottl#define __ldm_alloc_cmd hptrr___ldm_alloc_cmd
36176018Sscottl#define delay_between_spinup hptrr_delay_between_spinup
37174604Sscottl#define dmapool_active hptrr_dmapool_active
38174604Sscottl#define dmapool_get_page hptrr_dmapool_get_page
39174604Sscottl#define dmapool_get_page_at hptrr_dmapool_get_page_at
40174604Sscottl#define dmapool_make_order hptrr_dmapool_make_order
41174604Sscottl#define dmapool_max_class_pages hptrr_dmapool_max_class_pages
42174604Sscottl#define dmapool_put_page hptrr_dmapool_put_page
43174604Sscottl#define dmapool_register_client hptrr_dmapool_register_client
44174604Sscottl#define driver_name hptrr_driver_name
45174604Sscottl#define driver_name_long hptrr_driver_name_long
46174604Sscottl#define driver_ver hptrr_driver_ver
47174604Sscottl#define freelist_get hptrr_freelist_get
48174604Sscottl#define freelist_get_dma hptrr_freelist_get_dma
49174604Sscottl#define freelist_put hptrr_freelist_put
50174604Sscottl#define freelist_put_dma hptrr_freelist_put_dma
51174604Sscottl#define freelist_reserve hptrr_freelist_reserve
52174604Sscottl#define freelist_reserve_dma hptrr_freelist_reserve_dma
53176018Sscottl#define gautorebuild hptrr_gautorebuild
54176018Sscottl#define grebuildpriority hptrr_grebuildpriority
55174604Sscottl#define him_handle_to_vbus hptrr_him_handle_to_vbus
56174604Sscottl#define him_list hptrr_him_list
57174604Sscottl#define init_config hptrr_init_config
58174604Sscottl#define init_module_him_rr1720 hptrr_init_module_him_rr1720
59174604Sscottl#define init_module_him_rr174x_rr2210pm hptrr_init_module_him_rr174x_rr2210pm
60174604Sscottl#define init_module_him_rr222x_rr2240 hptrr_init_module_him_rr222x_rr2240
61174604Sscottl#define init_module_him_rr2310pm hptrr_init_module_him_rr2310pm
62174604Sscottl#define init_module_him_rr232x hptrr_init_module_him_rr232x
63174604Sscottl#define init_module_him_rr2340 hptrr_init_module_him_rr2340
64174604Sscottl#define init_module_him_rr2522pm hptrr_init_module_him_rr2522pm
65174604Sscottl#define init_module_jbod hptrr_init_module_jbod
66174604Sscottl#define init_module_partition hptrr_init_module_partition
67174604Sscottl#define init_module_raid0 hptrr_init_module_raid0
68174604Sscottl#define init_module_raid1 hptrr_init_module_raid1
69174604Sscottl#define init_module_raid5 hptrr_init_module_raid5
70174604Sscottl#define init_module_vdev_raw hptrr_init_module_vdev_raw
71174604Sscottl#define ldm_acquire_lock hptrr_ldm_acquire_lock
72174604Sscottl#define ldm_add_spare_to_array hptrr_ldm_add_spare_to_array
73176018Sscottl#define ldm_alloc_cmds_R_6_46_69_43_16 hptrr_ldm_alloc_cmds_R_6_46_69_43_16
74174604Sscottl#define ldm_alloc_cmds_from_list hptrr_ldm_alloc_cmds_from_list
75174604Sscottl#define ldm_check_array_online hptrr_ldm_check_array_online
76174604Sscottl#define ldm_create_vbus hptrr_ldm_create_vbus
77174604Sscottl#define ldm_create_vdev hptrr_ldm_create_vdev
78174604Sscottl#define ldm_event_notify hptrr_ldm_event_notify
79174604Sscottl#define ldm_find_stamp hptrr_ldm_find_stamp
80174604Sscottl#define ldm_find_target hptrr_ldm_find_target
81174604Sscottl#define ldm_finish_cmd hptrr_ldm_finish_cmd
82174604Sscottl#define ldm_free_cmds hptrr_ldm_free_cmds
83174604Sscottl#define ldm_free_cmds_to_list hptrr_ldm_free_cmds_to_list
84174604Sscottl#define ldm_generic_member_failed hptrr_ldm_generic_member_failed
85174604Sscottl#define ldm_get_cmd_size hptrr_ldm_get_cmd_size
86174604Sscottl#define ldm_get_device_id hptrr_ldm_get_device_id
87174604Sscottl#define ldm_get_mem_info hptrr_ldm_get_mem_info
88174604Sscottl#define ldm_get_next_vbus hptrr_ldm_get_next_vbus
89174604Sscottl#define ldm_get_vbus_ext hptrr_ldm_get_vbus_ext
90174604Sscottl#define ldm_get_vbus_size hptrr_ldm_get_vbus_size
91176018Sscottl#define ldm_ide_fixstring hptrr_ldm_ide_fixstring
92174604Sscottl#define ldm_idle hptrr_ldm_idle
93174604Sscottl#define ldm_initialize_vbus_async hptrr_ldm_initialize_vbus_async
94174604Sscottl#define ldm_intr hptrr_ldm_intr
95174604Sscottl#define ldm_ioctl hptrr_ldm_ioctl
96174604Sscottl#define ldm_on_timer hptrr_ldm_on_timer
97174604Sscottl#define ldm_queue_cmd hptrr_ldm_queue_cmd
98174604Sscottl#define ldm_queue_task hptrr_ldm_queue_task
99174604Sscottl#define ldm_queue_vbus_dpc hptrr_ldm_queue_vbus_dpc
100174604Sscottl#define ldm_register_adapter hptrr_ldm_register_adapter
101174604Sscottl#define ldm_register_device hptrr_ldm_register_device
102176018Sscottl#define ldm_register_him_R_6_46_69_43_16 hptrr_ldm_register_him_R_6_46_69_43_16
103176018Sscottl#define ldm_register_vdev_class_R_6_46_69_43_16 hptrr_ldm_register_vdev_class_R_6_46_69_43_16
104174604Sscottl#define ldm_release_lock hptrr_ldm_release_lock
105174604Sscottl#define ldm_release_vbus hptrr_ldm_release_vbus
106174604Sscottl#define ldm_release_vdev hptrr_ldm_release_vdev
107174604Sscottl#define ldm_remove_timer hptrr_ldm_remove_timer
108174604Sscottl#define ldm_request_timer hptrr_ldm_request_timer
109174604Sscottl#define ldm_reset_vbus hptrr_ldm_reset_vbus
110174604Sscottl#define ldm_resume hptrr_ldm_resume
111174604Sscottl#define ldm_set_autorebuild hptrr_ldm_set_autorebuild
112174604Sscottl#define ldm_set_rebuild_priority hptrr_ldm_set_rebuild_priority
113174604Sscottl#define ldm_shutdown hptrr_ldm_shutdown
114174604Sscottl#define ldm_suspend hptrr_ldm_suspend
115174604Sscottl#define ldm_sync_array_info hptrr_ldm_sync_array_info
116174604Sscottl#define ldm_sync_array_stamp hptrr_ldm_sync_array_stamp
117174604Sscottl#define ldm_timer_probe_device hptrr_ldm_timer_probe_device
118174604Sscottl#define ldm_unregister_device hptrr_ldm_unregister_device
119174604Sscottl#define log_sector_repair hptrr_log_sector_repair
120174604Sscottl#define num_drives_per_spinup hptrr_num_drives_per_spinup
121174604Sscottl#define os_get_stamp hptrr_os_get_stamp
122174604Sscottl#define os_get_vbus_seq hptrr_os_get_vbus_seq
123174604Sscottl#define os_inb hptrr_os_inb
124174604Sscottl#define os_inl hptrr_os_inl
125174604Sscottl#define os_insw hptrr_os_insw
126174604Sscottl#define os_inw hptrr_os_inw
127174604Sscottl#define os_map_pci_bar hptrr_os_map_pci_bar
128176018Sscottl#define os_max_cache_size hptrr_os_max_cache_size
129174604Sscottl#define os_outb hptrr_os_outb
130174604Sscottl#define os_outl hptrr_os_outl
131174604Sscottl#define os_outsw hptrr_os_outsw
132174604Sscottl#define os_outw hptrr_os_outw
133174604Sscottl#define os_pci_readb hptrr_os_pci_readb
134174604Sscottl#define os_pci_readl hptrr_os_pci_readl
135174604Sscottl#define os_pci_readw hptrr_os_pci_readw
136174604Sscottl#define os_pci_writeb hptrr_os_pci_writeb
137174604Sscottl#define os_pci_writel hptrr_os_pci_writel
138174604Sscottl#define os_pci_writew hptrr_os_pci_writew
139174604Sscottl#define os_printk hptrr_os_printk
140174604Sscottl#define os_query_remove_device hptrr_os_query_remove_device
141174604Sscottl#define os_query_time hptrr_os_query_time
142174604Sscottl#define os_request_timer hptrr_os_request_timer
143174604Sscottl#define os_revalidate_device hptrr_os_revalidate_device
144174604Sscottl#define os_schedule_task hptrr_os_schedule_task
145174604Sscottl#define os_stallexec hptrr_os_stallexec
146174604Sscottl#define os_unmap_pci_bar hptrr_os_unmap_pci_bar
147174604Sscottl#define osm_max_targets hptrr_osm_max_targets
148174604Sscottl#define vdev_queue_cmd hptrr_vdev_queue_cmd
149174604Sscottl#endif
150