00001 #ifndef iosbdef_h
00002 #define iosbdef_h
00003
00004 #define IOSB_K_LENGTH 8
00005 #define IOSB_C_LENGTH 8
00006
00007 struct _iosb {
00008 union {
00009 struct {
00010 unsigned short int iosb_w_status;
00011 union {
00012 struct {
00013 unsigned short int iosb_w_bcnt;
00014 #if 0
00015
00016 union {
00017 unsigned int iosb_l_dev_depend;
00018 unsigned int iosb_l_pid;
00019 };
00020 #endif
00021 };
00022 #if 0
00023
00024 struct {
00025 unsigned int iosb_l_bcnt;
00026 unsigned short int iosb_w_dev_depend_high;
00027 };
00028 #endif
00029 };
00030 };
00031 struct {
00032 union {
00033 unsigned int iosb_l_getxxi_status;
00034 unsigned int iosb_l_reg_status;
00035 };
00036 unsigned int iosb_l_reserved;
00037 };
00038 };
00039 };
00040
00041 typedef struct _iosb * IOSB_PQ;
00042 typedef struct _iosb ** IOSB_PPQ;
00043
00044 #endif
00045
00046