require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_IC_ICPREG_H_)) {
    eval 'sub _IC_ICPREG_H_ () {1;}' unless defined(&_IC_ICPREG_H_);
    eval 'sub ICP_MAXBUS () {6;}' unless defined(&ICP_MAXBUS);
    eval 'sub ICP_MAX_LDRIVES () {255;}' unless defined(&ICP_MAX_LDRIVES);
    eval 'sub ICP_MAX_HDRIVES () {100;}' unless defined(&ICP_MAX_HDRIVES);
    eval 'sub ICP_MAXID_FC () {127;}' unless defined(&ICP_MAXID_FC);
    eval 'sub ICP_MAXOFFSETS () {128;}' unless defined(&ICP_MAXOFFSETS);
    eval 'sub ICP_MAXSG () {17;}' unless defined(&ICP_MAXSG);
    eval 'sub ICP_PROTOCOL_VERSION () {1;}' unless defined(&ICP_PROTOCOL_VERSION);
    eval 'sub ICP_LINUX_OS () {8;}' unless defined(&ICP_LINUX_OS);
    eval 'sub ICP_SCATTER_GATHER () {1;}' unless defined(&ICP_SCATTER_GATHER);
    eval 'sub ICP_SECS32 () {0x1f;}' unless defined(&ICP_SECS32);
    eval 'sub ICP_LOCALBOARD () {0;}' unless defined(&ICP_LOCALBOARD);
    eval 'sub ICP_MAX_CMDS () {124;}' unless defined(&ICP_MAX_CMDS);
    eval 'sub ICP_SECTOR_SIZE () {0x200;}' unless defined(&ICP_SECTOR_SIZE);
    eval 'sub ICP_MAX_EVENTS () {0x100;}' unless defined(&ICP_MAX_EVENTS);
    eval 'sub ICP_MPR_MAGIC () {0xc0ffee11;}' unless defined(&ICP_MPR_MAGIC);
    eval 'sub ICP_IC_HEADER_BYTES () {48;}' unless defined(&ICP_IC_HEADER_BYTES);
    eval 'sub ICP_IC_QUEUE_BYTES () {4;}' unless defined(&ICP_IC_QUEUE_BYTES);
    eval 'sub ICP_INIT () {0;}' unless defined(&ICP_INIT);
    eval 'sub ICP_READ () {1;}' unless defined(&ICP_READ);
    eval 'sub ICP_WRITE () {2;}' unless defined(&ICP_WRITE);
    eval 'sub ICP_INFO () {3;}' unless defined(&ICP_INFO);
    eval 'sub ICP_FLUSH () {4;}' unless defined(&ICP_FLUSH);
    eval 'sub ICP_IOCTL () {5;}' unless defined(&ICP_IOCTL);
    eval 'sub ICP_DEVTYPE () {9;}' unless defined(&ICP_DEVTYPE);
    eval 'sub ICP_MOUNT () {10;}' unless defined(&ICP_MOUNT);
    eval 'sub ICP_UNMOUNT () {11;}' unless defined(&ICP_UNMOUNT);
    eval 'sub ICP_SET_FEAT () {12;}' unless defined(&ICP_SET_FEAT);
    eval 'sub ICP_GET_FEAT () {13;}' unless defined(&ICP_GET_FEAT);
    eval 'sub ICP_WRITE_THR () {16;}' unless defined(&ICP_WRITE_THR);
    eval 'sub ICP_READ_THR () {17;}' unless defined(&ICP_READ_THR);
    eval 'sub ICP_EXT_INFO () {18;}' unless defined(&ICP_EXT_INFO);
    eval 'sub ICP_RESET () {19;}' unless defined(&ICP_RESET);
    eval 'sub ICP_FREEZE_IO () {25;}' unless defined(&ICP_FREEZE_IO);
    eval 'sub ICP_UNFREEZE_IO () {26;}' unless defined(&ICP_UNFREEZE_IO);
    eval 'sub ICP_RESERVE () {14;}' unless defined(&ICP_RESERVE);
    eval 'sub ICP_RELEASE () {15;}' unless defined(&ICP_RELEASE);
    eval 'sub ICP_RESERVE_ALL () {16;}' unless defined(&ICP_RESERVE_ALL);
    eval 'sub ICP_RELEASE_ALL () {17;}' unless defined(&ICP_RELEASE_ALL);
    eval 'sub ICP_RESET_BUS () {18;}' unless defined(&ICP_RESET_BUS);
    eval 'sub ICP_SCAN_START () {19;}' unless defined(&ICP_SCAN_START);
    eval 'sub ICP_SCAN_END () {20;}' unless defined(&ICP_SCAN_END);
    eval 'sub ICP_SCSI_DR_INFO () {0x;}' unless defined(&ICP_SCSI_DR_INFO);
    eval 'sub ICP_SCSI_CHAN_CNT () {0x5;}' unless defined(&ICP_SCSI_CHAN_CNT);
    eval 'sub ICP_SCSI_DR_LIST () {0x6;}' unless defined(&ICP_SCSI_DR_LIST);
    eval 'sub ICP_SCSI_DEF_CNT () {0x15;}' unless defined(&ICP_SCSI_DEF_CNT);
    eval 'sub ICP_DSK_STATISTICS () {0x4b;}' unless defined(&ICP_DSK_STATISTICS);
    eval 'sub ICP_IOCHAN_DESC () {0x5d;}' unless defined(&ICP_IOCHAN_DESC);
    eval 'sub ICP_IOCHAN_RAW_DESC () {0x5e;}' unless defined(&ICP_IOCHAN_RAW_DESC);
    eval 'sub ICP_L_CTRL_PATTERN () {0x20000000;}' unless defined(&ICP_L_CTRL_PATTERN);
    eval 'sub ICP_ARRAY_INFO () {0x12;}' unless defined(&ICP_ARRAY_INFO);
    eval 'sub ICP_ARRAY_DRV_LIST () {0xf;}' unless defined(&ICP_ARRAY_DRV_LIST);
    eval 'sub ICP_LA_CTRL_PATTERN () {0x10000000;}' unless defined(&ICP_LA_CTRL_PATTERN);
    eval 'sub ICP_CACHE_DRV_CNT () {0x1;}' unless defined(&ICP_CACHE_DRV_CNT);
    eval 'sub ICP_CACHE_DRV_LIST () {0x2;}' unless defined(&ICP_CACHE_DRV_LIST);
    eval 'sub ICP_CACHE_INFO () {0x4;}' unless defined(&ICP_CACHE_INFO);
    eval 'sub ICP_CACHE_CONFIG () {0x5;}' unless defined(&ICP_CACHE_CONFIG);
    eval 'sub ICP_CACHE_DRV_INFO () {0x7;}' unless defined(&ICP_CACHE_DRV_INFO);
    eval 'sub ICP_BOARD_FEATURES () {0x15;}' unless defined(&ICP_BOARD_FEATURES);
    eval 'sub ICP_BOARD_INFO () {0x28;}' unless defined(&ICP_BOARD_INFO);
    eval 'sub ICP_HOST_GET () {0x10001;}' unless defined(&ICP_HOST_GET);
    eval 'sub ICP_IO_CHANNEL () {0x20000;}' unless defined(&ICP_IO_CHANNEL);
    eval 'sub ICP_INVALID_CHANNEL () {0xffff;}' unless defined(&ICP_INVALID_CHANNEL);
    eval 'sub ICP_S_MSG_REQUEST () {0;}' unless defined(&ICP_S_MSG_REQUEST);
    eval 'sub ICP_S_OK () {1;}' unless defined(&ICP_S_OK);
    eval 'sub ICP_S_BSY () {7;}' unless defined(&ICP_S_BSY);
    eval 'sub ICP_S_RAW_SCSI () {12;}' unless defined(&ICP_S_RAW_SCSI);
    eval 'sub ICP_S_RAW_ILL () {0xff;}' unless defined(&ICP_S_RAW_ILL);
    eval 'sub ICP_S_NO_STATUS () {0x1000;}' unless defined(&ICP_S_NO_STATUS);
    eval 'sub ICP_SCSIRAWSERVICE () {3;}' unless defined(&ICP_SCSIRAWSERVICE);
    eval 'sub ICP_CACHESERVICE () {9;}' unless defined(&ICP_CACHESERVICE);
    eval 'sub ICP_SCREENSERVICE () {11;}' unless defined(&ICP_SCREENSERVICE);
    eval 'sub ICP_DATA_IN () {0x1000000;}' unless defined(&ICP_DATA_IN);
    eval 'sub ICP_DATA_OUT () {0x;}' unless defined(&ICP_DATA_OUT);
    eval 'sub ICP_OFFSET () {0x;}' unless defined(&ICP_OFFSET);
    eval 'sub ICP_SERV_ID () {0x2;}' unless defined(&ICP_SERV_ID);
    eval 'sub ICP_COMM_Q_SZ () {0x4;}' unless defined(&ICP_COMM_Q_SZ);
    eval 'sub ICP_S_CMD_INDX () {0x;}' unless defined(&ICP_S_CMD_INDX);
    eval 'sub ICP_S_STATUS () {0x1;}' unless defined(&ICP_S_STATUS);
    eval 'sub ICP_S_INFO () {0x4;}' unless defined(&ICP_S_INFO);
    eval 'sub ICP_SEMA0 () {0x14;}' unless defined(&ICP_SEMA0);
    eval 'sub ICP_CMD_INDEX () {0x18;}' unless defined(&ICP_CMD_INDEX);
    eval 'sub ICP_STATUS () {0x1c;}' unless defined(&ICP_STATUS);
    eval 'sub ICP_SERVICE () {0x1e;}' unless defined(&ICP_SERVICE);
    eval 'sub ICP_DPR_INFO () {0x20;}' unless defined(&ICP_DPR_INFO);
    eval 'sub ICP_COMM_QUEUE () {0x28;}' unless defined(&ICP_COMM_QUEUE);
    eval 'sub ICP_DPR_CMD () {(0x30 +  &ICP_MAXOFFSETS *  &ICP_COMM_Q_SZ);}' unless defined(&ICP_DPR_CMD);
    eval 'sub ICP_DPR_IF_SZ () { &ICP_DPR_CMD;}' unless defined(&ICP_DPR_IF_SZ);
    eval 'sub ICP_CINFO_CPAR () {0x;}' unless defined(&ICP_CINFO_CPAR);
    eval 'sub ICP_CINFO_CSTAT () {0xc;}' unless defined(&ICP_CINFO_CSTAT);
    eval 'sub ICP_ASYNCINDEX () {0;}' unless defined(&ICP_ASYNCINDEX);
    eval 'sub ICP_SPEZINDEX () {1;}' unless defined(&ICP_SPEZINDEX);
    eval 'sub ICP_IOC_NEWEST () {0xffffffff;}' unless defined(&ICP_IOC_NEWEST);
}
1;
