00001 #ifndef pbdef_h 00002 #define pbdef_h 00003 00004 #define PB_C_CLOSED 0 00005 #define PB_C_ST_SENT 1 00006 #define PB_C_ST_REC 2 00007 #define PB_C_OPEN 3 00008 00009 #define PB_C_STALL_SETCKT 4 00010 #define PB_C_CLOSE_CKT 5 00011 #define PB_C_NOTIFY_VCFAIL 6 00012 #define PB_C_STALL_CACHE 7 00013 #define PB_C_CACHE_CLEAR 8 00014 #define PB_C_NOTIFY_PWFAIL 9 00015 00016 #define PB_C_VC_FAIL 32768 00017 #define PB_C_PWR_FAIL 16384 00018 #define PB_M_DUALPATH 0x80000000 00019 #define PB_C_CI780 2 00020 #define PB_C_CI750 2 00021 #define PB_C_HSC 4 00022 #define PB_C_KL10 6 00023 #define PB_C_CINT 7 00024 #define PB_C_NI 8 00025 #define PB_C_PS 9 00026 #define PB_C_BCA 11 00027 #define PB_C_BVPSSP 12 00028 #define PB_C_BVPNI 13 00029 #define PB_C_CIXCD 14 00030 #define PB_C_CIXCDAC 16 00031 #define PB_C_CITCA 17 00032 #define PB_C_CIPCA 18 00033 #define PB_C_MC 19 00034 #define PB_C_SMCI 20 00035 #define PB_C_SII 32 00036 #define PB_C_KFQSA 33 00037 #define PB_C_SHAC 34 00038 #define PB_C_XON 35 00039 #define PB_C_SWIFT 36 00040 #define PB_C_KFMSA 37 00041 #define PB_C_N710 38 00042 #define PB_C_KFMSB 39 00043 #define PB_C_RF70 48 00044 #define PB_C_RF71 48 00045 #define PB_C_RF30 49 00046 #define PB_C_RF31 50 00047 #define PB_C_RF72 51 00048 #define PB_C_RF32 52 00049 #define PB_C_RF73 53 00050 #define PB_C_RF31F 54 00051 #define PB_C_RF35 55 00052 #define PB_C_RF36 58 00053 #define PB_C_RF37 59 00054 #define PB_C_RF74 60 00055 #define PB_C_RF75 61 00056 #define PB_C_TF70 64 00057 #define PB_C_TF30 65 00058 #define PB_C_TF85 65 00059 #define PB_C_TF86 66 00060 #define PB_C_HSJ 80 00061 #define PB_C_HSD 81 00062 #define PB_C_HSF 82 00063 #define PB_C_HSJ80 83 00064 #define PB_C_EF51 96 00065 #define PB_C_EF52 97 00066 #define PB_C_EF53 98 00067 #define PB_C_EF54 99 00068 #define PB_C_EF58 100 00069 #define PB_M_SRSNTDATWM 0x80 00070 #define PB_M_MAINT 0x1 00071 #define PB_C_UNINIT 0 00072 #define PB_C_DISAB 1 00073 #define PB_C_ENAB 2 00074 00075 #define PB_M_CUR_CBL 0x1 00076 #define PB_M_CUR_PS 0x1 00077 #define PB_M_TIM 0x1 00078 #define PB_M_VCCHK_ENB 0x2 00079 #define PB_M_SCS_EXP 0x4 00080 #define PB_M_NEW_MSG 0x8 00081 #define PB_M_UNUSED 0x10 00082 #define PB_M_CREDIT 0x20 00083 #define PB_M_DISC 0x40 00084 #define PB_M_STORAGE 0x80 00085 #define PB_M_CLONE 0x100 00086 #define PB_C_SMCI_LOAD_CLASS 2147483647 00087 #define PB_C_MC_LOAD_CLASS 800 00088 #define PB_C_CI_LOAD_CLASS 140 00089 #define PB_C_DSSI_LOAD_CLASS 48 00090 #define PB_C_NI_LOAD_CLASS 10 00091 #define PB_K_LENGTH 116 00092 #define PB_C_LENGTH 116 00093 #define PB_S_PBDEF 116 00094 00095 struct _pb { 00096 struct _pb *pb_l_flink; 00097 struct _pb *pb_l_blink; 00098 unsigned short int pb_w_size; 00099 unsigned char pb_b_type; 00100 unsigned char pb_b_subtyp; 00101 unsigned char pb_b_rstation [6]; 00102 unsigned short int pb_w_state; 00103 unsigned int pb_l_rport_typ; 00104 unsigned int pb_l_rport_rev; 00105 unsigned int pb_l_rport_fcn; 00106 unsigned char pb_b_rst_port; 00107 unsigned char pb_b_rstate; 00108 unsigned short int pb_w_retry; 00109 char pb_t_lport_name [4]; 00110 unsigned char pb_b_cbl_sts; 00111 unsigned char pb_b_p0_sts; 00112 unsigned char pb_b_p1_sts; 00113 char pb_$_fill_1; 00114 void *pb_l_pdt; 00115 struct _sb *pb_l_sblink; 00116 struct _cdt *pb_l_cdtlst; 00117 void *pb_l_waitqfl; 00118 union { 00119 void *pb_l_waitqbl; 00120 unsigned int pb_l_duetime; 00121 }; 00122 void *pb_l_scsmsg; 00123 unsigned short int pb_w_sts; 00124 unsigned short int pb_w_vcfail_rsn; 00125 unsigned char pb_b_protocol; 00126 char pb_$_fill_2 [3]; 00127 unsigned int pb_l_rport_mult; 00128 unsigned int pb_l_time_stamp; 00129 struct _pb *pb_l_share_flink; 00130 struct _pb *pb_l_share_blink; 00131 int pb_l_load_class; 00132 int pb_l_priority; 00133 int pb_l_mgt_priority; 00134 // unsigned int pb_l_vc_addr; 00135 struct _vcdef * pb_l_vc_addr; 00136 int pb_$_fill_3 [2]; 00137 }; 00138 00139 #endif 00140 00141