1 /* 2 * Copyright (c) HighPoint Technologies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * $FreeBSD$ 27 */ 28 #ifndef hptrr_CONFIG_H 29 #define hptrr_CONFIG_H 30 #define SUPPORT_ARRAY 31 #define __KERNEL__ 1 32 #define DRIVER_MINOR 16 33 #define TARGETNAME hptrr 34 #define __dummy_reg hptrr___dummy_reg 35 #define __ldm_alloc_cmd hptrr___ldm_alloc_cmd 36 #define dmapool_active hptrr_dmapool_active 37 #define dmapool_get_page hptrr_dmapool_get_page 38 #define dmapool_get_page_at hptrr_dmapool_get_page_at 39 #define dmapool_make_order hptrr_dmapool_make_order 40 #define dmapool_max_class_pages hptrr_dmapool_max_class_pages 41 #define dmapool_put_page hptrr_dmapool_put_page 42 #define dmapool_register_client hptrr_dmapool_register_client 43 #define driver_name hptrr_driver_name 44 #define driver_name_long hptrr_driver_name_long 45 #define driver_ver hptrr_driver_ver 46 #define freelist_get hptrr_freelist_get 47 #define freelist_get_dma hptrr_freelist_get_dma 48 #define freelist_put hptrr_freelist_put 49 #define freelist_put_dma hptrr_freelist_put_dma 50 #define freelist_reserve hptrr_freelist_reserve 51 #define freelist_reserve_dma hptrr_freelist_reserve_dma 52 #define him_handle_to_vbus hptrr_him_handle_to_vbus 53 #define him_list hptrr_him_list 54 #define init_config hptrr_init_config 55 #define init_module_him_rr1720 hptrr_init_module_him_rr1720 56 #define init_module_him_rr174x_rr2210pm hptrr_init_module_him_rr174x_rr2210pm 57 #define init_module_him_rr222x_rr2240 hptrr_init_module_him_rr222x_rr2240 58 #define init_module_him_rr2310pm hptrr_init_module_him_rr2310pm 59 #define init_module_him_rr232x hptrr_init_module_him_rr232x 60 #define init_module_him_rr2340 hptrr_init_module_him_rr2340 61 #define init_module_him_rr2522pm hptrr_init_module_him_rr2522pm 62 #define init_module_jbod hptrr_init_module_jbod 63 #define init_module_partition hptrr_init_module_partition 64 #define init_module_raid0 hptrr_init_module_raid0 65 #define init_module_raid1 hptrr_init_module_raid1 66 #define init_module_raid5 hptrr_init_module_raid5 67 #define init_module_vdev_raw hptrr_init_module_vdev_raw 68 #define ldm_acquire_lock hptrr_ldm_acquire_lock 69 #define ldm_add_spare_to_array hptrr_ldm_add_spare_to_array 70 #define ldm_alloc_cmds_R_5_41_57_40_16 hptrr_ldm_alloc_cmds_R_5_41_57_40_16 71 #define ldm_alloc_cmds_from_list hptrr_ldm_alloc_cmds_from_list 72 #define ldm_check_array_online hptrr_ldm_check_array_online 73 #define ldm_create_vbus hptrr_ldm_create_vbus 74 #define ldm_create_vdev hptrr_ldm_create_vdev 75 #define ldm_event_notify hptrr_ldm_event_notify 76 #define ldm_find_stamp hptrr_ldm_find_stamp 77 #define ldm_find_target hptrr_ldm_find_target 78 #define ldm_finish_cmd hptrr_ldm_finish_cmd 79 #define ldm_free_cmds hptrr_ldm_free_cmds 80 #define ldm_free_cmds_to_list hptrr_ldm_free_cmds_to_list 81 #define ldm_generic_member_failed hptrr_ldm_generic_member_failed 82 #define ldm_get_cmd_size hptrr_ldm_get_cmd_size 83 #define ldm_get_device_id hptrr_ldm_get_device_id 84 #define ldm_get_mem_info hptrr_ldm_get_mem_info 85 #define ldm_get_next_vbus hptrr_ldm_get_next_vbus 86 #define ldm_get_vbus_ext hptrr_ldm_get_vbus_ext 87 #define ldm_get_vbus_size hptrr_ldm_get_vbus_size 88 #define ldm_idle hptrr_ldm_idle 89 #define ldm_initialize_vbus_async hptrr_ldm_initialize_vbus_async 90 #define ldm_intr hptrr_ldm_intr 91 #define ldm_ioctl hptrr_ldm_ioctl 92 #define ldm_on_timer hptrr_ldm_on_timer 93 #define ldm_queue_cmd hptrr_ldm_queue_cmd 94 #define ldm_queue_task hptrr_ldm_queue_task 95 #define ldm_queue_vbus_dpc hptrr_ldm_queue_vbus_dpc 96 #define ldm_register_adapter hptrr_ldm_register_adapter 97 #define ldm_register_device hptrr_ldm_register_device 98 #define ldm_register_him_R_5_41_57_40_16 hptrr_ldm_register_him_R_5_41_57_40_16 99 #define ldm_register_vdev_class_R_5_41_57_40_16 hptrr_ldm_register_vdev_class_R_5_41_57_40_16 100 #define ldm_release_lock hptrr_ldm_release_lock 101 #define ldm_release_vbus hptrr_ldm_release_vbus 102 #define ldm_release_vdev hptrr_ldm_release_vdev 103 #define ldm_remove_timer hptrr_ldm_remove_timer 104 #define ldm_request_timer hptrr_ldm_request_timer 105 #define ldm_reset_vbus hptrr_ldm_reset_vbus 106 #define ldm_resume hptrr_ldm_resume 107 #define ldm_set_autorebuild hptrr_ldm_set_autorebuild 108 #define ldm_set_rebuild_priority hptrr_ldm_set_rebuild_priority 109 #define ldm_shutdown hptrr_ldm_shutdown 110 #define ldm_suspend hptrr_ldm_suspend 111 #define ldm_sync_array_info hptrr_ldm_sync_array_info 112 #define ldm_sync_array_stamp hptrr_ldm_sync_array_stamp 113 #define ldm_timer_probe_device hptrr_ldm_timer_probe_device 114 #define ldm_unregister_device hptrr_ldm_unregister_device 115 #define log_sector_repair hptrr_log_sector_repair 116 #define num_drives_per_spinup hptrr_num_drives_per_spinup 117 #define os_get_stamp hptrr_os_get_stamp 118 #define os_get_vbus_seq hptrr_os_get_vbus_seq 119 #define os_inb hptrr_os_inb 120 #define os_inl hptrr_os_inl 121 #define os_insw hptrr_os_insw 122 #define os_inw hptrr_os_inw 123 #define os_map_pci_bar hptrr_os_map_pci_bar 124 #define os_outb hptrr_os_outb 125 #define os_outl hptrr_os_outl 126 #define os_outsw hptrr_os_outsw 127 #define os_outw hptrr_os_outw 128 #define os_pci_readb hptrr_os_pci_readb 129 #define os_pci_readl hptrr_os_pci_readl 130 #define os_pci_readw hptrr_os_pci_readw 131 #define os_pci_writeb hptrr_os_pci_writeb 132 #define os_pci_writel hptrr_os_pci_writel 133 #define os_pci_writew hptrr_os_pci_writew 134 #define os_printk hptrr_os_printk 135 #define os_query_remove_device hptrr_os_query_remove_device 136 #define os_query_time hptrr_os_query_time 137 #define os_request_timer hptrr_os_request_timer 138 #define os_revalidate_device hptrr_os_revalidate_device 139 #define os_schedule_task hptrr_os_schedule_task 140 #define os_stallexec hptrr_os_stallexec 141 #define os_unmap_pci_bar hptrr_os_unmap_pci_bar 142 #define osm_max_targets hptrr_osm_max_targets 143 #define vdev_queue_cmd hptrr_vdev_queue_cmd 144 #endif 145