📄 qla1280.h
字号:
uint8_t unused_7 :1; }cntr_flags_1; /* 5 */ struct { uint8_t boot_lun_number :5; uint8_t scsi_bus_number :1; uint8_t unused_6 :1; uint8_t unused_7 :1; uint8_t boot_target_number :4; uint8_t unused_12 :1; uint8_t unused_13 :1; uint8_t unused_14 :1; uint8_t unused_15 :1; }cntr_flags_2; /* 6, 7 */ uint16_t unused_8; /* 8, 9 */ uint16_t unused_10; /* 10, 11 */ uint16_t unused_12; /* 12, 13 */ uint16_t unused_14; /* 14, 15 */ union { uint8_t c; struct { uint8_t reserved :2; uint8_t burst_enable :1; uint8_t reserved_1 :1; uint8_t fifo_threshold :4; }f; }isp_config; /* 16 */ /* Termination * 0 = Disable, 1 = high only, 3 = Auto term */ union { uint8_t c; struct { uint8_t scsi_bus_1_control :2; uint8_t scsi_bus_0_control :2; uint8_t unused_0 :1; uint8_t unused_1 :1; uint8_t unused_2 :1; uint8_t auto_term_support :1; }f; }termination; /* 17 */ uint16_t isp_parameter; /* 18, 19 */ union { uint16_t w; struct { uint8_t enable_fast_posting :1; uint8_t report_lvd_bus_transition :1; uint8_t unused_2 :1; uint8_t unused_3 :1; uint8_t unused_4 :1; uint8_t unused_5 :1; uint8_t unused_6 :1; uint8_t unused_7 :1; uint8_t unused_8 :1; uint8_t unused_9 :1; uint8_t unused_10 :1; uint8_t unused_11 :1; uint8_t unused_12 :1; uint8_t unused_13 :1; uint8_t unused_14 :1; uint8_t unused_15 :1; }f; }firmware_feature; /* 20, 21 */ uint16_t unused_22; /* 22, 23 */ struct { struct { uint8_t initiator_id :4; uint8_t scsi_reset_disable :1; uint8_t scsi_bus_size :1; uint8_t scsi_bus_type :1; uint8_t unused_7 :1; }config_1; /* 24 */ uint8_t bus_reset_delay; /* 25 */ uint8_t retry_count; /* 26 */ uint8_t retry_delay; /* 27 */ struct { uint8_t async_data_setup_time :4; uint8_t req_ack_active_negation :1; uint8_t data_line_active_negation :1; uint8_t unused_6 :1; uint8_t unused_7 :1; }config_2; /* 28 */ uint8_t unused_29; /* 29 */ uint16_t selection_timeout; /* 30, 31 */ uint16_t max_queue_depth; /* 32, 33 */ uint16_t unused_34; /* 34, 35 */ uint16_t unused_36; /* 36, 37 */ uint16_t unused_38; /* 38, 39 */ struct { union { uint8_t c; struct { uint8_t renegotiate_on_error :1; uint8_t stop_queue_on_check :1; uint8_t auto_request_sense :1; uint8_t tag_queuing :1; uint8_t sync_data_transfers :1; uint8_t wide_data_transfers :1; uint8_t parity_checking :1; uint8_t disconnect_allowed :1; }f; }parameter; /* 40 */ uint8_t execution_throttle; /* 41 */ uint8_t sync_period; /* 42 */ struct { uint8_t sync_offset :4; uint8_t device_enable :1; uint8_t lun_disable :1; uint8_t unused_6 :1; uint8_t unused_7 :1; }flags; /* 43 */ uint16_t unused_44; /* 44, 45 */ }target[MAX_TARGETS]; }bus[MAX_BUSES]; uint16_t unused_248; /* 248, 249 */ uint16_t subsystem_id[2]; /* 250, 251, 252, 253 */ uint8_t unused_254; /* 254 */ uint8_t chksum; /* 255 */}nvram_t;/* * QLogic ISP12160 NVRAM structure definition. */typedef struct{ uint8_t id[4]; /* 0, 1, 2, 3 */ uint8_t version; /* 4 */ /* Host/Bios Flags */ struct { uint8_t bios_configuration_mode :2; uint8_t bios_disable :1; uint8_t selectable_scsi_boot_enable :1; uint8_t cd_rom_boot_enable :1; uint8_t disable_loading_risc_code :1; uint8_t unused_6 :1; uint8_t unused_7 :1; }cntr_flags_1; /* 5 */ /* Selectable Boot Support */ struct { uint8_t boot_lun_number :5; uint8_t scsi_bus_number :1; uint8_t unused_6 :1; uint8_t unused_7 :1; uint8_t boot_target_number :4; uint8_t unused_12 :1; uint8_t unused_13 :1; uint8_t unused_14 :1; uint8_t unused_15 :1; }cntr_flags_2; /* 6, 7 */ uint16_t unused_8; /* 8, 9 */ uint16_t unused_10; /* 10, 11 */ uint16_t unused_12; /* 12, 13 */ uint16_t unused_14; /* 14, 15 */ /* ISP Config Parameters */ union { uint8_t c; struct { uint8_t reserved :2; uint8_t burst_enable :1; uint8_t reserved_1 :1; uint8_t fifo_threshold :4; }f; }isp_config; /* 16 */ /* Termination * 0 = Disable, 1 = high only, 3 = Auto term */ union { uint8_t c; struct { uint8_t scsi_bus_1_control :2; uint8_t scsi_bus_0_control :2; uint8_t unused_0 :1; uint8_t unused_1 :1; uint8_t unused_2 :1; uint8_t auto_term_support :1; }f; }termination; /* 17 */ /* Auto Term - 3 */ /* High Only - 1 (GPIO2 = 1 & GPIO3 = 0) */ /* Disable - 0 (GPIO2 = 0 & GPIO3 = X) */ uint16_t isp_parameter; /* 18, 19 */ union { uint16_t w; struct { uint8_t enable_fast_posting :1; uint8_t report_lvd_bus_transition :1; uint8_t unused_2 :1; uint8_t unused_3 :1; uint8_t unused_4 :1; uint8_t unused_5 :1; uint8_t unused_6 :1; uint8_t unused_7 :1; uint8_t unused_8 :1; uint8_t unused_9 :1; uint8_t unused_10 :1; uint8_t unused_11 :1; uint8_t unused_12 :1; uint8_t unused_13 :1; uint8_t unused_14 :1; uint8_t unused_15 :1; }f; }firmware_feature; /* 20, 21 */ uint16_t unused_22; /* 22, 23 */ struct { struct { uint8_t initiator_id :4; uint8_t scsi_reset_disable :1; uint8_t scsi_bus_size :1; uint8_t scsi_bus_type :1; uint8_t unused_7 :1; }config_1; /* 24 */ uint8_t bus_reset_delay; /* 25 */ uint8_t retry_count; /* 26 */ uint8_t retry_delay; /* 27 */ /* Adapter Capabilities bits */ struct { uint8_t async_data_setup_time :4; uint8_t req_ack_active_negation :1; uint8_t data_line_active_negation :1; uint8_t unused_6 :1; uint8_t unused_7 :1; }config_2; /* 28 */ uint8_t unused_29; /* 29 */ uint16_t selection_timeout; /* 30, 31 */ uint16_t max_queue_depth; /* 32, 33 */ uint16_t unused_34; /* 34, 35 */ uint16_t unused_36; /* 36, 37 */ uint16_t unused_38; /* 38, 39 */ struct { union { uint8_t c; struct { uint8_t renegotiate_on_error :1; uint8_t stop_queue_on_check :1; uint8_t auto_request_sense :1; uint8_t tag_queuing :1; uint8_t sync_data_transfers :1; uint8_t wide_data_transfers :1; uint8_t parity_checking :1; uint8_t disconnect_allowed :1; }f; }parameter; /* 40 */ uint8_t execution_throttle; /* 41 */ uint8_t sync_period; /* 42 */ struct { uint8_t sync_offset :5; uint8_t device_enable :1; uint8_t unused_6 :1; uint8_t unused_7 :1; uint8_t ppr_options :4; uint8_t ppr_bus_width :2; uint8_t unused_8 :1; uint8_t enable_ppr :1; }flags; /* 43, 44 */ uint8_t unused_45; /* 45 */ }target[MAX_TARGETS]; }bus[MAX_BUSES];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -