xref: /freebsd/sys/dev/hptnr/hptnr_config.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 /*-
2  * SPDX-License-Identifier: BSD-2-Clause
3  *
4  * Copyright (c) 2011 HighPoint Technologies, Inc.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26  * SUCH DAMAGE.
27  */
28 
29 #ifndef hptnr_CONFIG_H
30 #define hptnr_CONFIG_H
31 #define SUPPORT_ARRAY
32 #define __KERNEL__ 1
33 #define DRIVER_MINOR 16
34 #define TARGETNAME hptnr
35 #define __dummy_reg hptnr___dummy_reg
36 #define __ldm_alloc_cmd hptnr___ldm_alloc_cmd
37 #define debug_flag hptnr_debug_flag
38 #define delay_between_spinup hptnr_delay_between_spinup
39 #define dmapool_active hptnr_dmapool_active
40 #define dmapool_get_page hptnr_dmapool_get_page
41 #define dmapool_get_page_at hptnr_dmapool_get_page_at
42 #define dmapool_init hptnr_dmapool_init
43 #define dmapool_make_order hptnr_dmapool_make_order
44 #define dmapool_max_class_pages hptnr_dmapool_max_class_pages
45 #define dmapool_put_page hptnr_dmapool_put_page
46 #define dmapool_register_client hptnr_dmapool_register_client
47 #define driver_name hptnr_driver_name
48 #define driver_name_long hptnr_driver_name_long
49 #define driver_ver hptnr_driver_ver
50 #define freelist_get hptnr_freelist_get
51 #define freelist_get_dma hptnr_freelist_get_dma
52 #define freelist_put hptnr_freelist_put
53 #define freelist_put_dma hptnr_freelist_put_dma
54 #define freelist_reserve hptnr_freelist_reserve
55 #define freelist_reserve_dma hptnr_freelist_reserve_dma
56 #define gGlobalNcqFlag hptnr_gGlobalNcqFlag
57 #define gProbeInInitializing hptnr_gProbeInInitializing
58 #define gSGPIOPartSupport hptnr_gSGPIOPartSupport
59 #define gSpinupOneDevEachTime hptnr_gSpinupOneDevEachTime
60 #define g_legacy_mode hptnr_g_legacy_mode
61 #define gautorebuild hptnr_gautorebuild
62 #define grebuildpriority hptnr_grebuildpriority
63 #define him_handle_to_vbus hptnr_him_handle_to_vbus
64 #define him_list hptnr_him_list
65 #define init_config hptnr_init_config
66 #define init_module_him_dc7280 hptnr_init_module_him_dc7280
67 #define init_module_him_r750 hptnr_init_module_him_r750
68 #define init_module_vdev_raw hptnr_init_module_vdev_raw
69 #define ldm_acquire_lock hptnr_ldm_acquire_lock
70 #define ldm_add_spare_to_array hptnr_ldm_add_spare_to_array
71 #define ldm_alloc_cmds_R_6_55_75_46_64 hptnr_ldm_alloc_cmds_R_6_55_75_46_64
72 #define ldm_alloc_cmds_from_list hptnr_ldm_alloc_cmds_from_list
73 #define ldm_check_array_online hptnr_ldm_check_array_online
74 #define ldm_create_vbus hptnr_ldm_create_vbus
75 #define ldm_create_vdev hptnr_ldm_create_vdev
76 #define ldm_event_notify hptnr_ldm_event_notify
77 #define ldm_find_stamp hptnr_ldm_find_stamp
78 #define ldm_find_target hptnr_ldm_find_target
79 #define ldm_finish_cmd hptnr_ldm_finish_cmd
80 #define ldm_free_cmds hptnr_ldm_free_cmds
81 #define ldm_free_cmds_to_list hptnr_ldm_free_cmds_to_list
82 #define ldm_generic_member_failed hptnr_ldm_generic_member_failed
83 #define ldm_get_cmd_size hptnr_ldm_get_cmd_size
84 #define ldm_get_device_id hptnr_ldm_get_device_id
85 #define ldm_get_mem_info hptnr_ldm_get_mem_info
86 #define ldm_get_next_vbus hptnr_ldm_get_next_vbus
87 #define ldm_get_vbus_ext hptnr_ldm_get_vbus_ext
88 #define ldm_get_vbus_size hptnr_ldm_get_vbus_size
89 #define ldm_ide_fixstring hptnr_ldm_ide_fixstring
90 #define ldm_idle hptnr_ldm_idle
91 #define ldm_initialize_vbus_async hptnr_ldm_initialize_vbus_async
92 #define ldm_intr hptnr_ldm_intr
93 #define ldm_ioctl hptnr_ldm_ioctl
94 #define ldm_on_timer hptnr_ldm_on_timer
95 #define ldm_queue_cmd hptnr_ldm_queue_cmd
96 #define ldm_queue_task hptnr_ldm_queue_task
97 #define ldm_queue_vbus_dpc hptnr_ldm_queue_vbus_dpc
98 #define ldm_register_adapter hptnr_ldm_register_adapter
99 #define ldm_register_device hptnr_ldm_register_device
100 #define ldm_register_him_R_6_55_75_46_64 hptnr_ldm_register_him_R_6_55_75_46_64
101 #define ldm_register_vdev_class_R_6_55_75_46_64 hptnr_ldm_register_vdev_class_R_6_55_75_46_64
102 #define ldm_release_lock hptnr_ldm_release_lock
103 #define ldm_release_vbus hptnr_ldm_release_vbus
104 #define ldm_release_vdev hptnr_ldm_release_vdev
105 #define ldm_remove_timer hptnr_ldm_remove_timer
106 #define ldm_request_timer hptnr_ldm_request_timer
107 #define ldm_reset_vbus hptnr_ldm_reset_vbus
108 #define ldm_resume hptnr_ldm_resume
109 #define ldm_run hptnr_ldm_run
110 #define ldm_set_autorebuild hptnr_ldm_set_autorebuild
111 #define ldm_shutdown hptnr_ldm_shutdown
112 #define ldm_suspend hptnr_ldm_suspend
113 #define ldm_sync_array_info hptnr_ldm_sync_array_info
114 #define ldm_sync_array_stamp hptnr_ldm_sync_array_stamp
115 #define ldm_timer_probe_device hptnr_ldm_timer_probe_device
116 #define ldm_unregister_device hptnr_ldm_unregister_device
117 #define log_sector_repair hptnr_log_sector_repair
118 #define msi hptnr_msi
119 #define num_drives_per_spinup hptnr_num_drives_per_spinup
120 #define os_get_stamp hptnr_os_get_stamp
121 #define os_get_vbus_seq hptnr_os_get_vbus_seq
122 #define os_inb hptnr_os_inb
123 #define os_inl hptnr_os_inl
124 #define os_insw hptnr_os_insw
125 #define os_inw hptnr_os_inw
126 #define os_map_pci_bar hptnr_os_map_pci_bar
127 #define os_max_cache_size hptnr_os_max_cache_size
128 #define os_outb hptnr_os_outb
129 #define os_outl hptnr_os_outl
130 #define os_outsw hptnr_os_outsw
131 #define os_outw hptnr_os_outw
132 #define os_pci_readb hptnr_os_pci_readb
133 #define os_pci_readl hptnr_os_pci_readl
134 #define os_pci_readw hptnr_os_pci_readw
135 #define os_pci_writeb hptnr_os_pci_writeb
136 #define os_pci_writel hptnr_os_pci_writel
137 #define os_pci_writew hptnr_os_pci_writew
138 #define os_printk hptnr_os_printk
139 #define os_query_remove_device hptnr_os_query_remove_device
140 #define os_query_time hptnr_os_query_time
141 #define os_request_timer hptnr_os_request_timer
142 #define os_revalidate_device hptnr_os_revalidate_device
143 #define os_schedule_task hptnr_os_schedule_task
144 #define os_stallexec hptnr_os_stallexec
145 #define os_unmap_pci_bar hptnr_os_unmap_pci_bar
146 #define osm_max_targets hptnr_osm_max_targets
147 #define pcicfg_read_dword hptnr_pcicfg_read_dword
148 #define vbus_list hptnr_vbus_list
149 #define vdev_queue_cmd hptnr_vdev_queue_cmd
150 #endif
151