00001 #ifndef ccbdef_h 00002 #define ccbdef_h 00003 00004 #define CCB_M_AMB 0x1 00005 #define CCB_M_IMGTMP 0x2 00006 #define CCB_M_RDCHKDON 0x4 00007 #define CCB_M_WRTCHKDON 0x8 00008 #define CCB_M_LOGCHKDON 0x10 00009 #define CCB_M_PHYCHKDON 0x20 00010 #define CCB_M_NOREADACC 0x40 00011 #define CCB_M_NOWRITEACC 0x80 00012 #define CCB_M_CLONE 0x100 00013 00014 #define CCB_V_RDCHKDON 2 00015 #define CCB_V_WRTCHKDON 3 00016 00017 #define CCB_K_LENGTH 32 00018 #define CCB_S_CCBDEF 32 00019 00020 struct _ccb { 00021 struct _ucb *ccb_l_ucb; 00022 struct _wcb *ccb_l_wind; 00023 union { 00024 unsigned int ccb_l_sts; 00025 struct { 00026 unsigned ccb_v_amb : 1; 00027 unsigned ccb_v_imgtmp : 1; 00028 unsigned ccb_v_rdchkdon : 1; 00029 unsigned ccb_v_wrtchkdon : 1; 00030 unsigned ccb_v_logchkdon : 1; 00031 unsigned ccb_v_phychkdon : 1; 00032 unsigned ccb_v_noreadacc : 1; 00033 unsigned ccb_v_nowriteacc : 1; 00034 unsigned ccb_v_clone : 1; 00035 unsigned ccb_v_fillme : 7; 00036 }; 00037 }; 00038 char ccb_b_amod; 00039 unsigned char ccb_b_spare_1; 00040 unsigned short int ccb_w_spare_2; 00041 unsigned int ccb_l_ioc; 00042 struct _irp *ccb_l_dirp; 00043 union { 00044 int ccb_l_chan; 00045 unsigned short int ccb_w_chan; 00046 }; 00047 int ccb_l_reserved; 00048 }; 00049 00050 #endif 00051 00052