Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _I2O_DEV_H
     20 #define _I2O_DEV_H
     21 #define MAX_I2O_CONTROLLERS 32
     22 #include <linux/ioctl.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #include <linux/types.h>
     25 #define I2O_MAGIC_NUMBER 'i'
     26 #define I2OGETIOPS _IOR(I2O_MAGIC_NUMBER,0,__u8[MAX_I2O_CONTROLLERS])
     27 #define I2OHRTGET _IOWR(I2O_MAGIC_NUMBER,1,struct i2o_cmd_hrtlct)
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define I2OLCTGET _IOWR(I2O_MAGIC_NUMBER,2,struct i2o_cmd_hrtlct)
     30 #define I2OPARMSET _IOWR(I2O_MAGIC_NUMBER,3,struct i2o_cmd_psetget)
     31 #define I2OPARMGET _IOWR(I2O_MAGIC_NUMBER,4,struct i2o_cmd_psetget)
     32 #define I2OSWDL _IOWR(I2O_MAGIC_NUMBER,5,struct i2o_sw_xfer)
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define I2OSWUL _IOWR(I2O_MAGIC_NUMBER,6,struct i2o_sw_xfer)
     35 #define I2OSWDEL _IOWR(I2O_MAGIC_NUMBER,7,struct i2o_sw_xfer)
     36 #define I2OVALIDATE _IOR(I2O_MAGIC_NUMBER,8,__u32)
     37 #define I2OHTML _IOWR(I2O_MAGIC_NUMBER,9,struct i2o_html)
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define I2OEVTREG _IOW(I2O_MAGIC_NUMBER,10,struct i2o_evt_id)
     40 #define I2OEVTGET _IOR(I2O_MAGIC_NUMBER,11,struct i2o_evt_info)
     41 #define I2OPASSTHRU _IOR(I2O_MAGIC_NUMBER,12,struct i2o_cmd_passthru)
     42 #define I2OPASSTHRU32 _IOR(I2O_MAGIC_NUMBER,12,struct i2o_cmd_passthru32)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 struct i2o_cmd_passthru32 {
     45  unsigned int iop;
     46  __u32 msg;
     47 };
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 struct i2o_cmd_passthru {
     50  unsigned int iop;
     51  void __user *msg;
     52 };
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 struct i2o_cmd_hrtlct {
     55  unsigned int iop;
     56  void __user *resbuf;
     57  unsigned int __user *reslen;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 };
     60 struct i2o_cmd_psetget {
     61  unsigned int iop;
     62  unsigned int tid;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64  void __user *opbuf;
     65  unsigned int oplen;
     66  void __user *resbuf;
     67  unsigned int __user *reslen;
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 };
     70 struct i2o_sw_xfer {
     71  unsigned int iop;
     72  unsigned char flags;
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74  unsigned char sw_type;
     75  unsigned int sw_id;
     76  void __user *buf;
     77  unsigned int __user *swlen;
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79  unsigned int __user *maxfrag;
     80  unsigned int __user *curfrag;
     81 };
     82 struct i2o_html {
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84  unsigned int iop;
     85  unsigned int tid;
     86  unsigned int page;
     87  void __user *resbuf;
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89  unsigned int __user *reslen;
     90  void __user *qbuf;
     91  unsigned int qlen;
     92 };
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define I2O_EVT_Q_LEN 32
     95 struct i2o_evt_id {
     96  unsigned int iop;
     97  unsigned int tid;
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99  unsigned int evt_mask;
    100 };
    101 #define I2O_EVT_DATA_SIZE 88
    102 struct i2o_evt_info {
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104  struct i2o_evt_id id;
    105  unsigned char evt_data[I2O_EVT_DATA_SIZE];
    106  unsigned int data_size;
    107 };
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 struct i2o_evt_get {
    110  struct i2o_evt_info info;
    111  int pending;
    112  int lost;
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 };
    115 typedef struct i2o_sg_io_hdr {
    116  unsigned int flags;
    117 } i2o_sg_io_hdr_t;
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define I2O_BUS_LOCAL 0
    120 #define I2O_BUS_ISA 1
    121 #define I2O_BUS_EISA 2
    122 #define I2O_BUS_PCI 4
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define I2O_BUS_PCMCIA 5
    125 #define I2O_BUS_NUBUS 6
    126 #define I2O_BUS_CARDBUS 7
    127 #define I2O_BUS_UNKNOWN 0x80
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 typedef struct _i2o_pci_bus {
    130  __u8 PciFunctionNumber;
    131  __u8 PciDeviceNumber;
    132  __u8 PciBusNumber;
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134  __u8 reserved;
    135  __u16 PciVendorID;
    136  __u16 PciDeviceID;
    137 } i2o_pci_bus;
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139 typedef struct _i2o_local_bus {
    140  __u16 LbBaseIOPort;
    141  __u16 reserved;
    142  __u32 LbBaseMemoryAddress;
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144 } i2o_local_bus;
    145 typedef struct _i2o_isa_bus {
    146  __u16 IsaBaseIOPort;
    147  __u8 CSN;
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149  __u8 reserved;
    150  __u32 IsaBaseMemoryAddress;
    151 } i2o_isa_bus;
    152 typedef struct _i2o_eisa_bus_info {
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154  __u16 EisaBaseIOPort;
    155  __u8 reserved;
    156  __u8 EisaSlotNumber;
    157  __u32 EisaBaseMemoryAddress;
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159 } i2o_eisa_bus;
    160 typedef struct _i2o_mca_bus {
    161  __u16 McaBaseIOPort;
    162  __u8 reserved;
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164  __u8 McaSlotNumber;
    165  __u32 McaBaseMemoryAddress;
    166 } i2o_mca_bus;
    167 typedef struct _i2o_other_bus {
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169  __u16 BaseIOPort;
    170  __u16 reserved;
    171  __u32 BaseMemoryAddress;
    172 } i2o_other_bus;
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174 typedef struct _i2o_hrt_entry {
    175  __u32 adapter_id;
    176  __u32 parent_tid:12;
    177  __u32 state:4;
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179  __u32 bus_num:8;
    180  __u32 bus_type:8;
    181  union {
    182  i2o_pci_bus pci_bus;
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184  i2o_local_bus local_bus;
    185  i2o_isa_bus isa_bus;
    186  i2o_eisa_bus eisa_bus;
    187  i2o_mca_bus mca_bus;
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189  i2o_other_bus other_bus;
    190  } bus;
    191 } i2o_hrt_entry;
    192 typedef struct _i2o_hrt {
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194  __u16 num_entries;
    195  __u8 entry_len;
    196  __u8 hrt_version;
    197  __u32 change_ind;
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199  i2o_hrt_entry hrt_entry[1];
    200 } i2o_hrt;
    201 typedef struct _i2o_lct_entry {
    202  __u32 entry_size:16;
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204  __u32 tid:12;
    205  __u32 reserved:4;
    206  __u32 change_ind;
    207  __u32 device_flags;
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209  __u32 class_id:12;
    210  __u32 version:4;
    211  __u32 vendor_id:16;
    212  __u32 sub_class;
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214  __u32 user_tid:12;
    215  __u32 parent_tid:12;
    216  __u32 bios_info:8;
    217  __u8 identity_tag[8];
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219  __u32 event_capabilities;
    220 } i2o_lct_entry;
    221 typedef struct _i2o_lct {
    222  __u32 table_size:16;
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224  __u32 boot_tid:12;
    225  __u32 lct_ver:4;
    226  __u32 iop_flags;
    227  __u32 change_ind;
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229  i2o_lct_entry lct_entry[1];
    230 } i2o_lct;
    231 typedef struct _i2o_status_block {
    232  __u16 org_id;
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234  __u16 reserved;
    235  __u16 iop_id:12;
    236  __u16 reserved1:4;
    237  __u16 host_unit_id;
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239  __u16 segment_number:12;
    240  __u16 i2o_version:4;
    241  __u8 iop_state;
    242  __u8 msg_type;
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244  __u16 inbound_frame_size;
    245  __u8 init_code;
    246  __u8 reserved2;
    247  __u32 max_inbound_frames;
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249  __u32 cur_inbound_frames;
    250  __u32 max_outbound_frames;
    251  char product_id[24];
    252  __u32 expected_lct_size;
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254  __u32 iop_capabilities;
    255  __u32 desired_mem_size;
    256  __u32 current_mem_size;
    257  __u32 current_mem_base;
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259  __u32 desired_io_size;
    260  __u32 current_io_size;
    261  __u32 current_io_base;
    262  __u32 reserved3:24;
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264  __u32 cmd_status:8;
    265 } i2o_status_block;
    266 #define I2O_EVT_IND_STATE_CHANGE 0x80000000
    267 #define I2O_EVT_IND_GENERAL_WARNING 0x40000000
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269 #define I2O_EVT_IND_CONFIGURATION_FLAG 0x20000000
    270 #define I2O_EVT_IND_LOCK_RELEASE 0x10000000
    271 #define I2O_EVT_IND_CAPABILITY_CHANGE 0x08000000
    272 #define I2O_EVT_IND_DEVICE_RESET 0x04000000
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274 #define I2O_EVT_IND_EVT_MASK_MODIFIED 0x02000000
    275 #define I2O_EVT_IND_FIELD_MODIFIED 0x01000000
    276 #define I2O_EVT_IND_VENDOR_EVT 0x00800000
    277 #define I2O_EVT_IND_DEVICE_STATE 0x00400000
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279 #define I2O_EVT_IND_EXEC_RESOURCE_LIMITS 0x00000001
    280 #define I2O_EVT_IND_EXEC_CONNECTION_FAIL 0x00000002
    281 #define I2O_EVT_IND_EXEC_ADAPTER_FAULT 0x00000004
    282 #define I2O_EVT_IND_EXEC_POWER_FAIL 0x00000008
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284 #define I2O_EVT_IND_EXEC_RESET_PENDING 0x00000010
    285 #define I2O_EVT_IND_EXEC_RESET_IMMINENT 0x00000020
    286 #define I2O_EVT_IND_EXEC_HW_FAIL 0x00000040
    287 #define I2O_EVT_IND_EXEC_XCT_CHANGE 0x00000080
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289 #define I2O_EVT_IND_EXEC_NEW_LCT_ENTRY 0x00000100
    290 #define I2O_EVT_IND_EXEC_MODIFIED_LCT 0x00000200
    291 #define I2O_EVT_IND_EXEC_DDM_AVAILABILITY 0x00000400
    292 #define I2O_EVT_IND_BSA_VOLUME_LOAD 0x00000001
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294 #define I2O_EVT_IND_BSA_VOLUME_UNLOAD 0x00000002
    295 #define I2O_EVT_IND_BSA_VOLUME_UNLOAD_REQ 0x00000004
    296 #define I2O_EVT_IND_BSA_CAPACITY_CHANGE 0x00000008
    297 #define I2O_EVT_IND_BSA_SCSI_SMART 0x00000010
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299 #define I2O_EVT_STATE_CHANGE_NORMAL 0x00
    300 #define I2O_EVT_STATE_CHANGE_SUSPENDED 0x01
    301 #define I2O_EVT_STATE_CHANGE_RESTART 0x02
    302 #define I2O_EVT_STATE_CHANGE_NA_RECOVER 0x03
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304 #define I2O_EVT_STATE_CHANGE_NA_NO_RECOVER 0x04
    305 #define I2O_EVT_STATE_CHANGE_QUIESCE_REQUEST 0x05
    306 #define I2O_EVT_STATE_CHANGE_FAILED 0x10
    307 #define I2O_EVT_STATE_CHANGE_FAULTED 0x11
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309 #define I2O_EVT_GEN_WARNING_NORMAL 0x00
    310 #define I2O_EVT_GEN_WARNING_ERROR_THRESHOLD 0x01
    311 #define I2O_EVT_GEN_WARNING_MEDIA_FAULT 0x02
    312 #define I2O_EVT_CAPABILITY_OTHER 0x01
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314 #define I2O_EVT_CAPABILITY_CHANGED 0x02
    315 #define I2O_EVT_SENSOR_STATE_CHANGED 0x01
    316 #define I2O_CLASS_VERSION_10 0x00
    317 #define I2O_CLASS_VERSION_11 0x01
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319 #define I2O_CLASS_EXECUTIVE 0x000
    320 #define I2O_CLASS_DDM 0x001
    321 #define I2O_CLASS_RANDOM_BLOCK_STORAGE 0x010
    322 #define I2O_CLASS_SEQUENTIAL_STORAGE 0x011
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324 #define I2O_CLASS_LAN 0x020
    325 #define I2O_CLASS_WAN 0x030
    326 #define I2O_CLASS_FIBRE_CHANNEL_PORT 0x040
    327 #define I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL 0x041
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329 #define I2O_CLASS_SCSI_PERIPHERAL 0x051
    330 #define I2O_CLASS_ATE_PORT 0x060
    331 #define I2O_CLASS_ATE_PERIPHERAL 0x061
    332 #define I2O_CLASS_FLOPPY_CONTROLLER 0x070
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334 #define I2O_CLASS_FLOPPY_DEVICE 0x071
    335 #define I2O_CLASS_BUS_ADAPTER 0x080
    336 #define I2O_CLASS_PEER_TRANSPORT_AGENT 0x090
    337 #define I2O_CLASS_PEER_TRANSPORT 0x091
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339 #define I2O_CLASS_END 0xfff
    340 #define I2O_CLASS_MATCH_ANYCLASS 0xffffffff
    341 #define I2O_SUBCLASS_i960 0x001
    342 #define I2O_SUBCLASS_HDM 0x020
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344 #define I2O_SUBCLASS_ISM 0x021
    345 #define I2O_PARAMS_FIELD_GET 0x0001
    346 #define I2O_PARAMS_LIST_GET 0x0002
    347 #define I2O_PARAMS_MORE_GET 0x0003
    348 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    349 #define I2O_PARAMS_SIZE_GET 0x0004
    350 #define I2O_PARAMS_TABLE_GET 0x0005
    351 #define I2O_PARAMS_FIELD_SET 0x0006
    352 #define I2O_PARAMS_LIST_SET 0x0007
    353 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    354 #define I2O_PARAMS_ROW_ADD 0x0008
    355 #define I2O_PARAMS_ROW_DELETE 0x0009
    356 #define I2O_PARAMS_TABLE_CLEAR 0x000A
    357 #define I2O_SNFORMAT_UNKNOWN 0
    358 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    359 #define I2O_SNFORMAT_BINARY 1
    360 #define I2O_SNFORMAT_ASCII 2
    361 #define I2O_SNFORMAT_UNICODE 3
    362 #define I2O_SNFORMAT_LAN48_MAC 4
    363 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    364 #define I2O_SNFORMAT_WAN 5
    365 #define I2O_SNFORMAT_LAN64_MAC 6
    366 #define I2O_SNFORMAT_DDM 7
    367 #define I2O_SNFORMAT_IEEE_REG64 8
    368 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    369 #define I2O_SNFORMAT_IEEE_REG128 9
    370 #define I2O_SNFORMAT_UNKNOWN2 0xff
    371 #define ADAPTER_STATE_INITIALIZING 0x01
    372 #define ADAPTER_STATE_RESET 0x02
    373 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    374 #define ADAPTER_STATE_HOLD 0x04
    375 #define ADAPTER_STATE_READY 0x05
    376 #define ADAPTER_STATE_OPERATIONAL 0x08
    377 #define ADAPTER_STATE_FAILED 0x10
    378 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    379 #define ADAPTER_STATE_FAULTED 0x11
    380 #define I2O_SOFTWARE_MODULE_IRTOS 0x11
    381 #define I2O_SOFTWARE_MODULE_IOP_PRIVATE 0x22
    382 #define I2O_SOFTWARE_MODULE_IOP_CONFIG 0x23
    383 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    384 #define I2O_VENDOR_DPT 0x001b
    385 #define I2O_DPT_SG_FLAG_INTERPRET 0x00010000
    386 #define I2O_DPT_SG_FLAG_PHYSICAL 0x00020000
    387 #define I2O_DPT_FLASH_FRAG_SIZE 0x10000
    388 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    389 #define I2O_DPT_FLASH_READ 0x0101
    390 #define I2O_DPT_FLASH_WRITE 0x0102
    391 #endif
    392