00001 #ifndef qssysdef_h 00002 #define qssysdef_h 00003 00004 #include <dtndef.h> 00005 00006 #define QSRV_HLPR_ACT_C_C_PREP 1 00007 #define QSRV_HLPR_ACT_C_C_POST 2 00008 #define QSRV_HLPR_ACT_C_C_CLNUP 3 00009 #define QSRV_HLPR_ACT_C_S_PREP 4 00010 #define QSRV_HLPR_ACT_C_S_POST 5 00011 #define QSRV_HLPR_ACT_C_S_CLNUP 6 00012 00013 #define QSRV_NTFY_ACT_C_PATH_REST 1 00014 #define QSRV_NTFY_ACT_C_PATH_LOST 2 00015 00016 #define QSRV_PACKACK_M_ORIG_BUFIO 0x1 00017 #define QSRV_PACKACK_M_DATA_VALID 0x2 00018 00019 #define QSRV_PACKACK_C_LENGTH 128 00020 #define QSRV_PACKACK_K_LENGTH 128 00021 #define QSRV_PACKACK_C_LENGTH_WWID 448 00022 #define QSRV_PACKACK_K_LENGTH_WWID 448 00023 00024 #define QSRV_PACKACK_S_QSRV_PACKACK 448 00025 00026 #define QSRV_ACTION_C_MOUNTVER 1 00027 00028 #define QSRV_ACTION_C_MPDEV_PATHSWITCH 2 00029 00030 struct _qsrv_packack { 00031 union { 00032 unsigned int qsrv_packack_l_controls; 00033 union { 00034 unsigned int qsrv_packack_l_ctrl_bits; 00035 struct { 00036 unsigned qsrv_packack_v_orig_bufio : 1; 00037 unsigned qsrv_packack_v_data_valid : 1; 00038 unsigned qsrv_packack_v_fill_2_ : 6; 00039 }; 00040 }; 00041 }; 00042 union { 00043 unsigned int qsrv_packack_l_driver_version; 00044 struct { 00045 unsigned short int qsrv_packack_w_major_vers; 00046 unsigned short int qsrv_packack_w_minor_vers; 00047 }; 00048 }; 00049 struct { 00050 union { 00051 unsigned long long qsrv_packack_q_devchar; 00052 struct { 00053 unsigned int qsrv_packack_l_devchar; 00054 unsigned int qsrv_packack_l_devchar2; 00055 }; 00056 }; 00057 unsigned long long qsrv_packack_q_devdepend; 00058 unsigned long long qsrv_packack_q_devdepend2; 00059 unsigned char qsrv_packack_b_devclass; 00060 unsigned char qsrv_packack_b_devtype; 00061 unsigned short int qsrv_packack_w_devbufsize; 00062 unsigned int qsrv_packack_l_sts; 00063 unsigned int qsrv_packack_l_devsts; 00064 unsigned int qsrv_packack_l_media_id; 00065 }; 00066 struct { 00067 unsigned short int qsrv_packack_w_mt3_density; 00068 unsigned short int qsrv_packack_w_spare_1; 00069 }; 00070 struct { 00071 union { 00072 struct { 00073 unsigned int qsrv_packack_l_maxblock; 00074 unsigned int qsrv_packack_l_maxbcnt; 00075 }; 00076 struct { 00077 unsigned int qsrv_packack_l_record; 00078 }; 00079 }; 00080 unsigned int qsrv_packack_l_alloclass; 00081 }; 00082 unsigned int qsrv_packack_l_devchar3; 00083 unsigned int qsrv_packack_l_wwid_length; 00084 struct _dtn qsrv_packack_r_dtn; 00085 char qsrv_packack_t_wwid [280]; 00086 }; 00087 00088 #endif 00089 00090