00001 #ifndef iogendef_h 00002 #define iogendef_h 00003 00004 #define IOGEN__LOAD 1 00005 #define IOGEN__RELOAD 2 00006 #define IOGEN__CONNECT 3 00007 #define IOGEN__INIT_CTRL 4 00008 #define IOGEN__INIT_UNIT 5 00009 #define IOGEN__DELIVER 6 00010 #define IOGEN_K_MINFCODE 1 00011 #define IOGEN_K_MAXFCODE 6 00012 #define IOGEN_M_NOWAIT 0x10000 00013 #define IOGEN_M_LDDB 0x20000 00014 #define IOGEN_M_SYSDEVICE 0x40000 00015 #define IOGEN_M_NOINIT 0x80000 00016 #define IOGEN_S_IOGENDEF 4 00017 00018 typedef struct _iogen { 00019 union { 00020 struct { 00021 unsigned short int iogen_w_fcode; 00022 unsigned short int iogen_w_modifiers; 00023 }; 00024 struct { 00025 unsigned iogen_v_fcode_fill : 16; 00026 unsigned iogen_v_nowait : 1; 00027 unsigned iogen_v_lddb : 1; 00028 unsigned iogen_v_sysdevice : 1; 00029 unsigned iogen_v_noinit : 1; 00030 unsigned iogen_v_fill_0_ : 4; 00031 }; 00032 }; 00033 }; 00034 00035 #define IOGEN__ADAPTER 16 00036 #define IOGEN__NOADAPTER 17 00037 #define IOGEN__CSR 18 00038 #define IOGEN__VECTOR 19 00039 #define IOGEN__MAXUNITS 20 00040 #define IOGEN__SYSID 21 00041 #define IOGEN__SYSLOA_CRB 22 00042 #define IOGEN__UNIT 23 00043 #define IOGEN__NUMUNITS 24 00044 #define IOGEN__DELIVER_DATA 25 00045 #define IOGEN__DDB 26 00046 #define IOGEN__CRB 27 00047 #define IOGEN__IDB 28 00048 #define IOGEN__UCB 29 00049 #define IOGEN__SB 30 00050 #define IOGEN__NODE 31 00051 #define IOGEN__ALLOCLS 32 00052 #define IOGEN__WWID 33 00053 #define IOGEN__DEVPATH 34 00054 #define IOGEN__DNP 35 00055 #define IOGEN__QIOSERVER 36 00056 #define IOGEN__QSLUN 37 00057 #define IOGEN__QSRV_PATH_PRIORITY 38 00058 #define IOGEN__QSRV_DEVICE_ALLOCLS 39 00059 #define IOGEN_K_MINITEM 16 00060 #define IOGEN_K_MAXITEM 39 00061 #define IOGEN_M_AC_LOG 0x1 00062 #define IOGEN_M_AC_SCA 0x2 00063 #define IOGEN_M_AC_LAN 0x4 00064 #define IOGEN_M_AC_LOG_ALL 0x8 00065 #define IOGEN_M_AC_VERIFY 0x10 00066 00067 struct _autocfg { 00068 union { 00069 unsigned int iogen_l_autocfg_flags; 00070 struct { 00071 unsigned iogen_v_ac_log : 1; 00072 unsigned iogen_v_ac_sca : 1; 00073 unsigned iogen_v_ac_lan : 1; 00074 unsigned iogen_v_ac_log_all : 1; 00075 unsigned iogen_v_ac_verify : 1; 00076 unsigned iogen_v_fill_1_ : 3; 00077 }; 00078 }; 00079 }; 00080 00081 #define IOGEN_S_ABMDEF 8 00082 00083 struct _abm { 00084 int iogen_il_abm_adp; 00085 int (*iogen_ps_abm_bsr)(); 00086 }; 00087 00088 #endif 00089 00090