require '_h2ph_pre.ph';

unless(defined(&_I2O_DEV_H)) {
    eval 'sub _I2O_DEV_H () {1;}' unless defined(&_I2O_DEV_H);
    eval 'sub MAX_I2O_CONTROLLERS () {32;}' unless defined(&MAX_I2O_CONTROLLERS);
    require 'linux/ioctl.ph';
    eval 'sub I2O_MAGIC_NUMBER () {ord(\'i\');}' unless defined(&I2O_MAGIC_NUMBER);
    eval 'sub I2OGETIOPS () { &_IOR( &I2O_MAGIC_NUMBER,0, $u8[ &MAX_I2O_CONTROLLERS]);}' unless defined(&I2OGETIOPS);
    eval 'sub I2OHRTGET () { &_IOWR( &I2O_MAGIC_NUMBER,1,\'struct i2o_cmd_hrtlct\');}' unless defined(&I2OHRTGET);
    eval 'sub I2OLCTGET () { &_IOWR( &I2O_MAGIC_NUMBER,2,\'struct i2o_cmd_hrtlct\');}' unless defined(&I2OLCTGET);
    eval 'sub I2OPARMSET () { &_IOWR( &I2O_MAGIC_NUMBER,3,\'struct i2o_cmd_psetget\');}' unless defined(&I2OPARMSET);
    eval 'sub I2OPARMGET () { &_IOWR( &I2O_MAGIC_NUMBER,4,\'struct i2o_cmd_psetget\');}' unless defined(&I2OPARMGET);
    eval 'sub I2OSWDL () { &_IOWR( &I2O_MAGIC_NUMBER,5,\'struct i2o_sw_xfer\');}' unless defined(&I2OSWDL);
    eval 'sub I2OSWUL () { &_IOWR( &I2O_MAGIC_NUMBER,6,\'struct i2o_sw_xfer\');}' unless defined(&I2OSWUL);
    eval 'sub I2OSWDEL () { &_IOWR( &I2O_MAGIC_NUMBER,7,\'struct i2o_sw_xfer\');}' unless defined(&I2OSWDEL);
    eval 'sub I2OVALIDATE () { &_IOR( &I2O_MAGIC_NUMBER,8, &u32);}' unless defined(&I2OVALIDATE);
    eval 'sub I2OHTML () { &_IOWR( &I2O_MAGIC_NUMBER,9,\'struct i2o_html\');}' unless defined(&I2OHTML);
    eval 'sub I2OEVTREG () { &_IOW( &I2O_MAGIC_NUMBER,10,\'struct i2o_evt_id\');}' unless defined(&I2OEVTREG);
    eval 'sub I2OEVTGET () { &_IOR( &I2O_MAGIC_NUMBER,11,\'struct i2o_evt_info\');}' unless defined(&I2OEVTGET);
    eval 'sub I2O_EVT_Q_LEN () {32;}' unless defined(&I2O_EVT_Q_LEN);
    eval 'sub I2O_EVT_DATA_SIZE () {88;}' unless defined(&I2O_EVT_DATA_SIZE);
    eval 'sub I2O_BUS_LOCAL () {0;}' unless defined(&I2O_BUS_LOCAL);
    eval 'sub I2O_BUS_ISA () {1;}' unless defined(&I2O_BUS_ISA);
    eval 'sub I2O_BUS_EISA () {2;}' unless defined(&I2O_BUS_EISA);
    eval 'sub I2O_BUS_MCA () {3;}' unless defined(&I2O_BUS_MCA);
    eval 'sub I2O_BUS_PCI () {4;}' unless defined(&I2O_BUS_PCI);
    eval 'sub I2O_BUS_PCMCIA () {5;}' unless defined(&I2O_BUS_PCMCIA);
    eval 'sub I2O_BUS_NUBUS () {6;}' unless defined(&I2O_BUS_NUBUS);
    eval 'sub I2O_BUS_CARDBUS () {7;}' unless defined(&I2O_BUS_CARDBUS);
    eval 'sub I2O_BUS_UNKNOWN () {0x80;}' unless defined(&I2O_BUS_UNKNOWN);
    unless(defined(&__KERNEL__)) {
    }
    eval 'sub I2O_EVT_IND_STATE_CHANGE () {0x80000000;}' unless defined(&I2O_EVT_IND_STATE_CHANGE);
    eval 'sub I2O_EVT_IND_GENERAL_WARNING () {0x40000000;}' unless defined(&I2O_EVT_IND_GENERAL_WARNING);
    eval 'sub I2O_EVT_IND_CONFIGURATION_FLAG () {0x20000000;}' unless defined(&I2O_EVT_IND_CONFIGURATION_FLAG);
    eval 'sub I2O_EVT_IND_LOCK_RELEASE () {0x10000000;}' unless defined(&I2O_EVT_IND_LOCK_RELEASE);
    eval 'sub I2O_EVT_IND_CAPABILITY_CHANGE () {0x8000000;}' unless defined(&I2O_EVT_IND_CAPABILITY_CHANGE);
    eval 'sub I2O_EVT_IND_DEVICE_RESET () {0x4000000;}' unless defined(&I2O_EVT_IND_DEVICE_RESET);
    eval 'sub I2O_EVT_IND_EVT_MASK_MODIFIED () {0x2000000;}' unless defined(&I2O_EVT_IND_EVT_MASK_MODIFIED);
    eval 'sub I2O_EVT_IND_FIELD_MODIFIED () {0x1000000;}' unless defined(&I2O_EVT_IND_FIELD_MODIFIED);
    eval 'sub I2O_EVT_IND_VENDOR_EVT () {0x800000;}' unless defined(&I2O_EVT_IND_VENDOR_EVT);
    eval 'sub I2O_EVT_IND_DEVICE_STATE () {0x400000;}' unless defined(&I2O_EVT_IND_DEVICE_STATE);
    eval 'sub I2O_EVT_IND_EXEC_RESOURCE_LIMITS () {0x1;}' unless defined(&I2O_EVT_IND_EXEC_RESOURCE_LIMITS);
    eval 'sub I2O_EVT_IND_EXEC_CONNECTION_FAIL () {0x2;}' unless defined(&I2O_EVT_IND_EXEC_CONNECTION_FAIL);
    eval 'sub I2O_EVT_IND_EXEC_ADAPTER_FAULT () {0x4;}' unless defined(&I2O_EVT_IND_EXEC_ADAPTER_FAULT);
    eval 'sub I2O_EVT_IND_EXEC_POWER_FAIL () {0x8;}' unless defined(&I2O_EVT_IND_EXEC_POWER_FAIL);
    eval 'sub I2O_EVT_IND_EXEC_RESET_PENDING () {0x10;}' unless defined(&I2O_EVT_IND_EXEC_RESET_PENDING);
    eval 'sub I2O_EVT_IND_EXEC_RESET_IMMINENT () {0x20;}' unless defined(&I2O_EVT_IND_EXEC_RESET_IMMINENT);
    eval 'sub I2O_EVT_IND_EXEC_HW_FAIL () {0x40;}' unless defined(&I2O_EVT_IND_EXEC_HW_FAIL);
    eval 'sub I2O_EVT_IND_EXEC_XCT_CHANGE () {0x80;}' unless defined(&I2O_EVT_IND_EXEC_XCT_CHANGE);
    eval 'sub I2O_EVT_IND_EXEC_NEW_LCT_ENTRY () {0x100;}' unless defined(&I2O_EVT_IND_EXEC_NEW_LCT_ENTRY);
    eval 'sub I2O_EVT_IND_EXEC_MODIFIED_LCT () {0x200;}' unless defined(&I2O_EVT_IND_EXEC_MODIFIED_LCT);
    eval 'sub I2O_EVT_IND_EXEC_DDM_AVAILABILITY () {0x400;}' unless defined(&I2O_EVT_IND_EXEC_DDM_AVAILABILITY);
    eval 'sub I2O_EVT_IND_BSA_VOLUME_LOAD () {0x1;}' unless defined(&I2O_EVT_IND_BSA_VOLUME_LOAD);
    eval 'sub I2O_EVT_IND_BSA_VOLUME_UNLOAD () {0x2;}' unless defined(&I2O_EVT_IND_BSA_VOLUME_UNLOAD);
    eval 'sub I2O_EVT_IND_BSA_VOLUME_UNLOAD_REQ () {0x4;}' unless defined(&I2O_EVT_IND_BSA_VOLUME_UNLOAD_REQ);
    eval 'sub I2O_EVT_IND_BSA_CAPACITY_CHANGE () {0x8;}' unless defined(&I2O_EVT_IND_BSA_CAPACITY_CHANGE);
    eval 'sub I2O_EVT_IND_BSA_SCSI_SMART () {0x10;}' unless defined(&I2O_EVT_IND_BSA_SCSI_SMART);
    eval 'sub I2O_EVT_STATE_CHANGE_NORMAL () {0x;}' unless defined(&I2O_EVT_STATE_CHANGE_NORMAL);
    eval 'sub I2O_EVT_STATE_CHANGE_SUSPENDED () {0x1;}' unless defined(&I2O_EVT_STATE_CHANGE_SUSPENDED);
    eval 'sub I2O_EVT_STATE_CHANGE_RESTART () {0x2;}' unless defined(&I2O_EVT_STATE_CHANGE_RESTART);
    eval 'sub I2O_EVT_STATE_CHANGE_NA_RECOVER () {0x3;}' unless defined(&I2O_EVT_STATE_CHANGE_NA_RECOVER);
    eval 'sub I2O_EVT_STATE_CHANGE_NA_NO_RECOVER () {0x4;}' unless defined(&I2O_EVT_STATE_CHANGE_NA_NO_RECOVER);
    eval 'sub I2O_EVT_STATE_CHANGE_QUIESCE_REQUEST () {0x5;}' unless defined(&I2O_EVT_STATE_CHANGE_QUIESCE_REQUEST);
    eval 'sub I2O_EVT_STATE_CHANGE_FAILED () {0x10;}' unless defined(&I2O_EVT_STATE_CHANGE_FAILED);
    eval 'sub I2O_EVT_STATE_CHANGE_FAULTED () {0x11;}' unless defined(&I2O_EVT_STATE_CHANGE_FAULTED);
    eval 'sub I2O_EVT_GEN_WARNING_NORMAL () {0x;}' unless defined(&I2O_EVT_GEN_WARNING_NORMAL);
    eval 'sub I2O_EVT_GEN_WARNING_ERROR_THRESHOLD () {0x1;}' unless defined(&I2O_EVT_GEN_WARNING_ERROR_THRESHOLD);
    eval 'sub I2O_EVT_GEN_WARNING_MEDIA_FAULT () {0x2;}' unless defined(&I2O_EVT_GEN_WARNING_MEDIA_FAULT);
    eval 'sub I2O_EVT_CAPABILITY_OTHER () {0x1;}' unless defined(&I2O_EVT_CAPABILITY_OTHER);
    eval 'sub I2O_EVT_CAPABILITY_CHANGED () {0x2;}' unless defined(&I2O_EVT_CAPABILITY_CHANGED);
    eval 'sub I2O_EVT_SENSOR_STATE_CHANGED () {0x1;}' unless defined(&I2O_EVT_SENSOR_STATE_CHANGED);
    eval 'sub I2O_CLASS_VERSION_10 () {0x;}' unless defined(&I2O_CLASS_VERSION_10);
    eval 'sub I2O_CLASS_VERSION_11 () {0x1;}' unless defined(&I2O_CLASS_VERSION_11);
    eval 'sub I2O_CLASS_EXECUTIVE () {0x;}' unless defined(&I2O_CLASS_EXECUTIVE);
    eval 'sub I2O_CLASS_DDM () {0x1;}' unless defined(&I2O_CLASS_DDM);
    eval 'sub I2O_CLASS_RANDOM_BLOCK_STORAGE () {0x10;}' unless defined(&I2O_CLASS_RANDOM_BLOCK_STORAGE);
    eval 'sub I2O_CLASS_SEQUENTIAL_STORAGE () {0x11;}' unless defined(&I2O_CLASS_SEQUENTIAL_STORAGE);
    eval 'sub I2O_CLASS_LAN () {0x20;}' unless defined(&I2O_CLASS_LAN);
    eval 'sub I2O_CLASS_WAN () {0x30;}' unless defined(&I2O_CLASS_WAN);
    eval 'sub I2O_CLASS_FIBRE_CHANNEL_PORT () {0x40;}' unless defined(&I2O_CLASS_FIBRE_CHANNEL_PORT);
    eval 'sub I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL () {0x41;}' unless defined(&I2O_CLASS_FIBRE_CHANNEL_PERIPHERAL);
    eval 'sub I2O_CLASS_SCSI_PERIPHERAL () {0x51;}' unless defined(&I2O_CLASS_SCSI_PERIPHERAL);
    eval 'sub I2O_CLASS_ATE_PORT () {0x60;}' unless defined(&I2O_CLASS_ATE_PORT);
    eval 'sub I2O_CLASS_ATE_PERIPHERAL () {0x61;}' unless defined(&I2O_CLASS_ATE_PERIPHERAL);
    eval 'sub I2O_CLASS_FLOPPY_CONTROLLER () {0x70;}' unless defined(&I2O_CLASS_FLOPPY_CONTROLLER);
    eval 'sub I2O_CLASS_FLOPPY_DEVICE () {0x71;}' unless defined(&I2O_CLASS_FLOPPY_DEVICE);
    eval 'sub I2O_CLASS_BUS_ADAPTER_PORT () {0x80;}' unless defined(&I2O_CLASS_BUS_ADAPTER_PORT);
    eval 'sub I2O_CLASS_PEER_TRANSPORT_AGENT () {0x90;}' unless defined(&I2O_CLASS_PEER_TRANSPORT_AGENT);
    eval 'sub I2O_CLASS_PEER_TRANSPORT () {0x91;}' unless defined(&I2O_CLASS_PEER_TRANSPORT);
    eval 'sub I2O_CLASS_MATCH_ANYCLASS () {0xffffffff;}' unless defined(&I2O_CLASS_MATCH_ANYCLASS);
    eval 'sub I2O_SUBCLASS_i960 () {0x1;}' unless defined(&I2O_SUBCLASS_i960);
    eval 'sub I2O_SUBCLASS_HDM () {0x20;}' unless defined(&I2O_SUBCLASS_HDM);
    eval 'sub I2O_SUBCLASS_ISM () {0x21;}' unless defined(&I2O_SUBCLASS_ISM);
    eval 'sub I2O_PARAMS_FIELD_GET () {0x1;}' unless defined(&I2O_PARAMS_FIELD_GET);
    eval 'sub I2O_PARAMS_LIST_GET () {0x2;}' unless defined(&I2O_PARAMS_LIST_GET);
    eval 'sub I2O_PARAMS_MORE_GET () {0x3;}' unless defined(&I2O_PARAMS_MORE_GET);
    eval 'sub I2O_PARAMS_SIZE_GET () {0x4;}' unless defined(&I2O_PARAMS_SIZE_GET);
    eval 'sub I2O_PARAMS_TABLE_GET () {0x5;}' unless defined(&I2O_PARAMS_TABLE_GET);
    eval 'sub I2O_PARAMS_FIELD_SET () {0x6;}' unless defined(&I2O_PARAMS_FIELD_SET);
    eval 'sub I2O_PARAMS_LIST_SET () {0x7;}' unless defined(&I2O_PARAMS_LIST_SET);
    eval 'sub I2O_PARAMS_ROW_ADD () {0x8;}' unless defined(&I2O_PARAMS_ROW_ADD);
    eval 'sub I2O_PARAMS_ROW_DELETE () {0x9;}' unless defined(&I2O_PARAMS_ROW_DELETE);
    eval 'sub I2O_PARAMS_TABLE_CLEAR () {0xa;}' unless defined(&I2O_PARAMS_TABLE_CLEAR);
    eval 'sub I2O_SNFORMAT_UNKNOWN () {0;}' unless defined(&I2O_SNFORMAT_UNKNOWN);
    eval 'sub I2O_SNFORMAT_BINARY () {1;}' unless defined(&I2O_SNFORMAT_BINARY);
    eval 'sub I2O_SNFORMAT_ASCII () {2;}' unless defined(&I2O_SNFORMAT_ASCII);
    eval 'sub I2O_SNFORMAT_UNICODE () {3;}' unless defined(&I2O_SNFORMAT_UNICODE);
    eval 'sub I2O_SNFORMAT_LAN48_MAC () {4;}' unless defined(&I2O_SNFORMAT_LAN48_MAC);
    eval 'sub I2O_SNFORMAT_WAN () {5;}' unless defined(&I2O_SNFORMAT_WAN);
    eval 'sub I2O_SNFORMAT_LAN64_MAC () {6;}' unless defined(&I2O_SNFORMAT_LAN64_MAC);
    eval 'sub I2O_SNFORMAT_DDM () {7;}' unless defined(&I2O_SNFORMAT_DDM);
    eval 'sub I2O_SNFORMAT_IEEE_REG64 () {8;}' unless defined(&I2O_SNFORMAT_IEEE_REG64);
    eval 'sub I2O_SNFORMAT_IEEE_REG128 () {9;}' unless defined(&I2O_SNFORMAT_IEEE_REG128);
    eval 'sub I2O_SNFORMAT_UNKNOWN2 () {0xff;}' unless defined(&I2O_SNFORMAT_UNKNOWN2);
    eval 'sub ADAPTER_STATE_INITIALIZING () {0x1;}' unless defined(&ADAPTER_STATE_INITIALIZING);
    eval 'sub ADAPTER_STATE_RESET () {0x2;}' unless defined(&ADAPTER_STATE_RESET);
    eval 'sub ADAPTER_STATE_HOLD () {0x4;}' unless defined(&ADAPTER_STATE_HOLD);
    eval 'sub ADAPTER_STATE_READY () {0x5;}' unless defined(&ADAPTER_STATE_READY);
    eval 'sub ADAPTER_STATE_OPERATIONAL () {0x8;}' unless defined(&ADAPTER_STATE_OPERATIONAL);
    eval 'sub ADAPTER_STATE_FAILED () {0x10;}' unless defined(&ADAPTER_STATE_FAILED);
    eval 'sub ADAPTER_STATE_FAULTED () {0x11;}' unless defined(&ADAPTER_STATE_FAULTED);
}
1;
