00001 #ifndef busarraydef_h 00002 #define busarraydef_h 00003 00004 #define BUSARRAY_M_NO_RECONNECT 0x1 00005 00006 struct _busarrayentry { 00007 unsigned long long busarray_q_hw_id; 00008 unsigned long long busarray_q_csr; 00009 unsigned int busarray_l_node_number; 00010 union { 00011 unsigned int busarray_l_flags; 00012 struct { 00013 unsigned busarray_v_no_reconnect : 1; 00014 unsigned busarray_v_fill_0_ : 7; 00015 }; 00016 }; 00017 struct _crb *busarray_ps_crb; 00018 struct _adp *busarray_ps_adp; 00019 union { 00020 unsigned int busarray_l_autoconfig; 00021 void *busarray_ps_autoconfig; 00022 }; 00023 union { 00024 unsigned int busarray_l_ctrlltr; 00025 unsigned char busarray_b_ctrlltr; 00026 }; 00027 00028 union { 00029 unsigned long long busarray_q_bus_specific; 00030 struct { 00031 union { 00032 unsigned int busarray_l_bus_specific_l; 00033 void *busarray_ps_bus_specific_l; 00034 unsigned int busarray_l_int_vec; 00035 unsigned int busarray_l_sys_irq; 00036 }; 00037 union { 00038 unsigned int busarray_l_bus_specific_h; 00039 void *busarray_ps_bus_specific_h; 00040 unsigned int busarray_l_bus_specific_1; 00041 void *busarray_ps_bus_specific_1; 00042 }; 00043 }; 00044 }; 00045 unsigned int busarray_l_cpu_affinity; 00046 union { 00047 unsigned int busarray_l_bus_specific_2; 00048 void *busarray_ps_bus_specific_2; 00049 }; 00050 }; 00051 00052 #define BUSARRAYENTRY_K_LENGTH 56 00053 00054 #define BUSARRAYHEADER_K_LENGTH 24 00055 00056 #define BUSARRAY_S_BUSARRAYHEADER 24 00057 00058 struct _busarray_header { 00059 struct _adp *busarray_ps_parent_adp; 00060 unsigned int busarray_l_fill1; 00061 unsigned short int busarray_w_size; 00062 unsigned char busarray_b_type; 00063 unsigned char busarray_b_subtype; 00064 unsigned int busarray_l_bus_type; 00065 unsigned int busarray_l_bus_node_cnt; 00066 unsigned int busarray_l_fill2; 00067 union { 00068 long long busarray_q_entry_list [1]; 00069 struct _busarrayentry busarray_r_bus_array_entry; 00070 }; 00071 }; 00072 00073 #endif 00074 00075