require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&AMI_MAX_PDRIVES)) {
    sub AMI_MAX_PDRIVES () {	(75);}
}
unless(defined(&AMI_MAX_LDRIVES)) {
    sub AMI_MAX_LDRIVES () {	8;}
}
unless(defined(&AMI_MAX_SPANDEPTH)) {
    sub AMI_MAX_SPANDEPTH () {	4;}
}
unless(defined(&AMI_MAX_DEVDEPTH)) {
    sub AMI_MAX_DEVDEPTH () {	8;}
}
unless(defined(&AMI_MAX_TARGET)) {
    sub AMI_MAX_TARGET () {	16;}
}
unless(defined(&AMI_BIG_MAX_PDRIVES)) {
    sub AMI_BIG_MAX_PDRIVES () {	(256);}
}
unless(defined(&AMI_BIG_MAX_LDRIVES)) {
    sub AMI_BIG_MAX_LDRIVES () {	40;}
}
unless(defined(&AMI_BIG_MAX_SPANDEPTH)) {
    sub AMI_BIG_MAX_SPANDEPTH () {	8;}
}
unless(defined(&AMI_BIG_MAX_DEVDEPTH)) {
    sub AMI_BIG_MAX_DEVDEPTH () {	32;}
}
unless(defined(&AMI_MAXCMDS)) {
    sub AMI_MAXCMDS () {	126;}
}
unless(defined(&AMI_SECTOR_SIZE)) {
    sub AMI_SECTOR_SIZE () {	512;}
}
unless(defined(&AMI_MAXOFFSETS)) {
    sub AMI_MAXOFFSETS () {	26;}
}
unless(defined(&AMI_SGEPERCMD)) {
    sub AMI_SGEPERCMD () {	32;}
}
unless(defined(&AMI_MAX_BUSYWAIT)) {
    sub AMI_MAX_BUSYWAIT () {	10;}
}
unless(defined(&AMI_MAX_POLLWAIT)) {
    sub AMI_MAX_POLLWAIT () {	1000000;}
}
unless(defined(&AMI_MAXIOCTLCMDS)) {
    sub AMI_MAXIOCTLCMDS () {	1;}
}
unless(defined(&AMI_MAXPROCS)) {
    sub AMI_MAXPROCS () {	2;}
}
unless(defined(&AMI_MAXRAWCMDS)) {
    sub AMI_MAXRAWCMDS () {	2;}
}
unless(defined(&AMI_MAXFER)) {
    sub AMI_MAXFER () {	( &AMI_MAXOFFSETS *  &PAGE_SIZE);}
}
unless(defined(&AMI_QIDB)) {
    sub AMI_QIDB () {	0x20;}
}
unless(defined(&AMI_QIDB_EXEC)) {
    sub AMI_QIDB_EXEC () {	0x1;}
}
unless(defined(&AMI_QIDB_ACK)) {
    sub AMI_QIDB_ACK () {	0x2;}
}
unless(defined(&AMI_QODB)) {
    sub AMI_QODB () {	0x2c;}
}
unless(defined(&AMI_QODB_READY)) {
    sub AMI_QODB_READY () {	0x10001234;}
}
unless(defined(&AMI_SCMD)) {
    sub AMI_SCMD () {	0x10;}
}
unless(defined(&AMI_SCMD_EXEC)) {
    sub AMI_SCMD_EXEC () {	0x10;}
}
unless(defined(&AMI_SCMD_ACK)) {
    sub AMI_SCMD_ACK () {	0x8;}
}
unless(defined(&AMI_SMBSTAT)) {
    sub AMI_SMBSTAT () {	0x10;}
}
unless(defined(&AMI_SMBST_BUSY)) {
    sub AMI_SMBST_BUSY () {	0x10;}
}
unless(defined(&AMI_SIEM)) {
    sub AMI_SIEM () {	0x11;}
}
unless(defined(&AMI_SEIM_ENA)) {
    sub AMI_SEIM_ENA () {	0xc0;}
}
unless(defined(&AMI_SMBADDR)) {
    sub AMI_SMBADDR () {	0x14;}
}
unless(defined(&AMI_SMBENA)) {
    sub AMI_SMBENA () {	0x18;}
}
unless(defined(&AMI_ISTAT)) {
    sub AMI_ISTAT () {	0x1a;}
}
unless(defined(&AMI_ISTAT_PEND)) {
    sub AMI_ISTAT_PEND () {	0x40;}
}
unless(defined(&AMI_READ)) {
    sub AMI_READ () {	0x1;}
}
unless(defined(&AMI_WRITE)) {
    sub AMI_WRITE () {	0x2;}
}
unless(defined(&AMI_PASSTHRU)) {
    sub AMI_PASSTHRU () {	0x3;}
}
unless(defined(&AMI_EINQUIRY)) {
    sub AMI_EINQUIRY () {	0x4;}
}
unless(defined(&AMI_INQUIRY)) {
    sub AMI_INQUIRY () {	0x5;}
}
unless(defined(&AMI_CHSTATE)) {
    sub AMI_CHSTATE () {	0x6;}
}
unless(defined(&AMI_STATE_ON)) {
    sub AMI_STATE_ON () {	3;}
}
unless(defined(&AMI_STATE_FAIL)) {
    sub AMI_STATE_FAIL () {	4;}
}
unless(defined(&AMI_STATE_SPARE)) {
    sub AMI_STATE_SPARE () {	6;}
}
unless(defined(&AMI_RCONFIG)) {
    sub AMI_RCONFIG () {	0x7;}
}
unless(defined(&AMI_REBUILDPD)) {
    sub AMI_REBUILDPD () {	0x8;}
}
unless(defined(&AMI_CHECK)) {
    sub AMI_CHECK () {	0x9;}
}
unless(defined(&AMI_FLUSH)) {
    sub AMI_FLUSH () {	0xa;}
}
unless(defined(&AMI_ILDRIVE)) {
    sub AMI_ILDRIVE () {	0xb;}
}
unless(defined(&AMI_EINQUIRY3)) {
    sub AMI_EINQUIRY3 () {	0xc;}
}
unless(defined(&AMI_DCHDR)) {
    sub AMI_DCHDR () {	0x14;}
}
unless(defined(&AMI_GRBLDPROGR)) {
    sub AMI_GRBLDPROGR () {	0x18;}
}
unless(defined(&AMI_GCHECKPROGR)) {
    sub AMI_GCHECKPROGR () {	0x19;}
}
unless(defined(&AMI_GILDRPROGR)) {
    sub AMI_GILDRPROGR () {	0x1b;}
}
unless(defined(&AMI_WRCONFIG)) {
    sub AMI_WRCONFIG () {	0x20;}
}
unless(defined(&AMI_RWRCONFIG)) {
    sub AMI_RWRCONFIG () {	0x21;}
}
unless(defined(&AMI_RRDCONFIG)) {
    sub AMI_RRDCONFIG () {	0x22;}
}
unless(defined(&AMI_GRBLDRATE)) {
    sub AMI_GRBLDRATE () {	0x23;}
}
unless(defined(&AMI_SRBLDRATE)) {
    sub AMI_SRBLDRATE () {	0x24;}
}
unless(defined(&AMI_UPLDCFGUT)) {
    sub AMI_UPLDCFGUT () {	0x25;}
}
unless(defined(&AMI_UPLDRVPROP)) {
    sub AMI_UPLDRVPROP () {	0x26;}
}
unless(defined(&AMI_ABRTREBLD)) {
    sub AMI_ABRTREBLD () {	0x28;}
}
unless(defined(&AMI_ABRTCHECK)) {
    sub AMI_ABRTCHECK () {	0x29;}
}
unless(defined(&AMI_ABRTILDRV)) {
    sub AMI_ABRTILDRV () {	0x2b;}
}
unless(defined(&AMI_WRBLOCK)) {
    sub AMI_WRBLOCK () {	0x2c;}
}
unless(defined(&AMI_PRGFLASH)) {
    sub AMI_PRGFLASH () {	0x2d;}
}
unless(defined(&AMI_SFLUSHINTV)) {
    sub AMI_SFLUSHINTV () {	0x2e;}
}
unless(defined(&AMI_PCHIPSETVAL)) {
    sub AMI_PCHIPSETVAL () {	0x2f;}
}
unless(defined(&AMI_CS_NEPTUNE)) {
    sub AMI_CS_NEPTUNE () {	0x61;}
}
unless(defined(&AMI_CS_OTHER)) {
    sub AMI_CS_OTHER () {	0xe1;}
}
unless(defined(&AMI_CS_TRITON)) {
    sub AMI_CS_TRITON () {	0xe2;}
}
unless(defined(&AMI_SNEG)) {
    sub AMI_SNEG () {	0x30;}
}
unless(defined(&AMI_SNEG_GET)) {
    sub AMI_SNEG_GET () {	1;}
}
unless(defined(&AMI_SNEG_SET)) {
    sub AMI_SNEG_SET () {	2;}
}
unless(defined(&AMI_QTAG)) {
    sub AMI_QTAG () {	0x31;}
}
unless(defined(&AMI_QTAG_GET)) {
    sub AMI_QTAG_GET () {	1;}
}
unless(defined(&AMI_QTAG_SET)) {
    sub AMI_QTAG_SET () {	2;}
}
unless(defined(&AMI_GSUPARAM)) {
    sub AMI_GSUPARAM () {	0x32;}
}
unless(defined(&AMI_SSUPARAM)) {
    sub AMI_SSUPARAM () {	0x33;}
}
unless(defined(&AMI_GDROAMINFO)) {
    sub AMI_GDROAMINFO () {	0x34;}
}
unless(defined(&AMI_GMACHID)) {
    sub AMI_GMACHID () {	0x36;}
}
unless(defined(&AMI_BIOSPDATA)) {
    sub AMI_BIOSPDATA () {	0x40;}
}
unless(defined(&AMI_I2OCFGDLG)) {
    sub AMI_I2OCFGDLG () {	0x41;}
}
unless(defined(&AMI_GCACHESTAT)) {
    sub AMI_GCACHESTAT () {	0x50;}
}
unless(defined(&AMI_SPEAKER)) {
    sub AMI_SPEAKER () {	0x51;}
}
unless(defined(&AMI_SPKR_OFF)) {
    sub AMI_SPKR_OFF () {	0;}
}
unless(defined(&AMI_SPKR_ON)) {
    sub AMI_SPKR_ON () {	1;}
}
unless(defined(&AMI_SPKR_SHUT)) {
    sub AMI_SPKR_SHUT () {	2;}
}
unless(defined(&AMI_SPKR_GVAL)) {
    sub AMI_SPKR_GVAL () {	3;}
}
unless(defined(&AMI_SPKR_TEST)) {
    sub AMI_SPKR_TEST () {	4;}
}
unless(defined(&AMI_GDUMP)) {
    sub AMI_GDUMP () {	0x52;}
}
unless(defined(&AMI_SENSEDUMPA)) {
    sub AMI_SENSEDUMPA () {	0x53;}
}
unless(defined(&AMI_STDIAG)) {
    sub AMI_STDIAG () {	0x54;}
}
unless(defined(&AMI_FRAID_PF)) {
    sub AMI_FRAID_PF () {	0x55;}
}
unless(defined(&AMI_GFRAIDPF)) {
    sub AMI_GFRAIDPF () {	1;}
}
unless(defined(&AMI_SFRAIDPF)) {
    sub AMI_SFRAIDPF () {	2;}
}
unless(defined(&AMI_FRAIDVS)) {
    sub AMI_FRAIDVS () {	0x56;}
}
unless(defined(&AMI_GFRAIDVS)) {
    sub AMI_GFRAIDVS () {	1;}
}
unless(defined(&AMI_SFRAIDVS)) {
    sub AMI_SFRAIDVS () {	2;}
}
unless(defined(&AMI_BBMANAGE)) {
    sub AMI_BBMANAGE () {	0x57;}
}
unless(defined(&AMI_RECONSTRUCT)) {
    sub AMI_RECONSTRUCT () {	0x60;}
}
unless(defined(&AMI_GRECONSTRUCT)) {
    sub AMI_GRECONSTRUCT () {	0x61;}
}
unless(defined(&AMI_BIOSSTAT)) {
    sub AMI_BIOSSTAT () {	0x62;}
}
unless(defined(&AMI_RDCFGDSK)) {
    sub AMI_RDCFGDSK () {	0x63;}
}
unless(defined(&AMI_AREBUILD)) {
    sub AMI_AREBUILD () {	0x64;}
}
unless(defined(&AMI_GUCAP)) {
    sub AMI_GUCAP () {	1;}
}
unless(defined(&AMI_SUCAP)) {
    sub AMI_SUCAP () {	2;}
}
unless(defined(&AMI_GARBLD)) {
    sub AMI_GARBLD () {	3;}
}
unless(defined(&AMI_SARBLD)) {
    sub AMI_SARBLD () {	4;}
}
unless(defined(&AMI_GFCC)) {
    sub AMI_GFCC () {	5;}
}
unless(defined(&AMI_SFCC)) {
    sub AMI_SFCC () {	6;}
}
unless(defined(&AMI_GCUCAP)) {
    sub AMI_GCUCAP () {	7;}
}
unless(defined(&AMI_SCUCAP)) {
    sub AMI_SCUCAP () {	8;}
}
unless(defined(&AMI_SFD)) {
    sub AMI_SFD () {	0x66;}
}
unless(defined(&AMI_RDCONFIG8)) {
    sub AMI_RDCONFIG8 () {	0x67;}
}
unless(defined(&AMI_WRCONFIG8)) {
    sub AMI_WRCONFIG8 () {	0x68;}
}
unless(defined(&AMI_ESENSEDUMPA)) {
    sub AMI_ESENSEDUMPA () {	0x69;}
}
unless(defined(&AMI_RERRC)) {
    sub AMI_RERRC () {	0x6a;}
}
unless(defined(&AMI_BOOTUP)) {
    sub AMI_BOOTUP () {	0x6b;}
}
unless(defined(&AMI_ENCLOSURE)) {
    sub AMI_ENCLOSURE () {	0x6c;}
}
unless(defined(&AMI_WRCFGD)) {
    sub AMI_WRCFGD () {	0x6c;}
}
unless(defined(&AMI_HAPIRRLD)) {
    sub AMI_HAPIRRLD () {	0x6e;}
}
unless(defined(&AMI_LDRVRIGHTS)) {
    sub AMI_LDRVRIGHTS () {	0x6f;}
}
unless(defined(&AMI_CLUSTERING)) {
    sub AMI_CLUSTERING () {	0x70;}
}
unless(defined(&AMI_GCHPROP)) {
    sub AMI_GCHPROP () {	0x71;}
}
unless(defined(&AMI_SCHTERM)) {
    sub AMI_SCHTERM () {	0x72;}
}
unless(defined(&AMI_TERM_DISABLE)) {
    sub AMI_TERM_DISABLE () {	0;}
}
unless(defined(&AMI_TERM_ENABLE)) {
    sub AMI_TERM_ENABLE () {	1;}
}
unless(defined(&AMI_TERM_HIGH)) {
    sub AMI_TERM_HIGH () {	2;}
}
unless(defined(&AMI_TERM_WIDE)) {
    sub AMI_TERM_WIDE () {	3;}
}
unless(defined(&AMI_TERM_DFLT)) {
    sub AMI_TERM_DFLT () {	16;}
}
unless(defined(&AMI_QUIETCH)) {
    sub AMI_QUIETCH () {	0x73;}
}
unless(defined(&AMI_ACTIVATECH)) {
    sub AMI_ACTIVATECH () {	0x74;}
}
unless(defined(&AMI_STARTU)) {
    sub AMI_STARTU () {	0x75;}
}
unless(defined(&AMI_STARTU_SYNC)) {
    sub AMI_STARTU_SYNC () {	1;}
}
unless(defined(&AMI_STARTU_ASYN)) {
    sub AMI_STARTU_ASYN () {	2;}
}
unless(defined(&AMI_STOPU)) {
    sub AMI_STOPU () {	0x76;}
}
unless(defined(&AMI_GERRC)) {
    sub AMI_GERRC () {	0x77;}
}
unless(defined(&AMI_GBTDS)) {
    sub AMI_GBTDS () {	0x78;}
}
unless(defined(&AMI_FMTPROG)) {
    sub AMI_FMTPROG () {	0x79;}
}
unless(defined(&AMI_RCAPCMD)) {
    sub AMI_RCAPCMD () {	0x7a;}
}
unless(defined(&AMI_WRCRX)) {
    sub AMI_WRCRX () {	0x7b;}
}
unless(defined(&AMI_RDCRX)) {
    sub AMI_RDCRX () {	0x7c;}
}
unless(defined(&AMI_GINID)) {
    sub AMI_GINID () {	0x7d;}
}
unless(defined(&AMI_HAPICMD)) {
    sub AMI_HAPICMD () {	0x7e;}
}
unless(defined(&AMI_SINID)) {
    sub AMI_SINID () {	0x7f;}
}
unless(defined(&AMI_SMARTMSEL)) {
    sub AMI_SMARTMSEL () {	0x80;}
}
unless(defined(&AMI_SPSTARTU)) {
    sub AMI_SPSTARTU () {	0x85;}
}
unless(defined(&AMI_NVFAILHIST)) {
    sub AMI_NVFAILHIST () {	0x90;}
}
unless(defined(&AMI_DCMDABRT)) {
    sub AMI_DCMDABRT () {	0x91;}
}
unless(defined(&AMI_GDRIVEHIST)) {
    sub AMI_GDRIVEHIST () {	0x92;}
}
unless(defined(&AMI_GESENSE)) {
    sub AMI_GESENSE () {	0x93;}
}
unless(defined(&AMI_ADAPTER)) {
    sub AMI_ADAPTER () {	0x95;}
}
unless(defined(&AMI_ADP_SAVE)) {
    sub AMI_ADP_SAVE () {	0;}
}
unless(defined(&AMI_ADP_LOAD)) {
    sub AMI_ADP_LOAD () {	1;}
}
unless(defined(&AMI_RESET)) {
    sub AMI_RESET () {	0x96;}
}
unless(defined(&AMI_PRGCLASS)) {
    sub AMI_PRGCLASS () {	0x97;}
}
unless(defined(&AMI_UPHTML)) {
    sub AMI_UPHTML () {	0x98;}
}
unless(defined(&AMI_NEWCFG)) {
    sub AMI_NEWCFG () {	0x99;}
}
unless(defined(&AMI_NEWOP)) {
    sub AMI_NEWOP () {	0xa0;}
}
unless(defined(&AMI_FCOP)) {
    sub AMI_FCOP () {	0xa1;}
}
unless(defined(&AMI_FC_PROCEED)) {
    sub AMI_FC_PROCEED () {	0x2;}
}
unless(defined(&AMI_FC_DELLDRV)) {
    sub AMI_FC_DELLDRV () {	0x3;}
}
unless(defined(&AMI_FC_RDCONF)) {
    sub AMI_FC_RDCONF () {	0x4;}
}
unless(defined(&AMI_FC_RDFCONF)) {
    sub AMI_FC_RDFCONF () {	0x5;}
}
unless(defined(&AMI_FC_GCONFDSK)) {
    sub AMI_FC_GCONFDSK () {	0x6;}
}
unless(defined(&AMI_FC_CHLDNO)) {
    sub AMI_FC_CHLDNO () {	0x7;}
}
unless(defined(&AMI_FC_CMPCTCFG)) {
    sub AMI_FC_CMPCTCFG () {	0x8;}
}
unless(defined(&AMI_FC_DRVGRP)) {
    sub AMI_FC_DRVGRP () {	0x9;}
}
unless(defined(&AMI_FC_GLOOPINF)) {
    sub AMI_FC_GLOOPINF () {	0xa;}
}
unless(defined(&AMI_FC_CHLOOPID)) {
    sub AMI_FC_CHLOOPID () {	0xb;}
}
unless(defined(&AMI_FC_GNSCH)) {
    sub AMI_FC_GNSCH () {	0xc;}
}
unless(defined(&AMI_FC_WRCONF)) {
    sub AMI_FC_WRCONF () {	0xd;}
}
unless(defined(&AMI_FC_PRODINF)) {
    sub AMI_FC_PRODINF () {	0xe;}
}
unless(defined(&AMI_FC_EINQ3)) {
    sub AMI_FC_EINQ3 () {	0xf;}
}
unless(defined(&AMI_FC_EINQ4)) {
    sub AMI_FC_EINQ4 () {	0x1f;}
}
unless(defined(&AMI_FC_EINQ3_SOLICITED_NOTIFY)) {
    sub AMI_FC_EINQ3_SOLICITED_NOTIFY () {	0x1;}
}
unless(defined(&AMI_FC_EINQ3_SOLICITED_FULL)) {
    sub AMI_FC_EINQ3_SOLICITED_FULL () {	0x2;}
}
unless(defined(&AMI_FC_EINQ3_UNSOLICITED)) {
    sub AMI_FC_EINQ3_UNSOLICITED () {	0x3;}
}
unless(defined(&AMI_MISC)) {
    sub AMI_MISC () {	0xa4;}
}
unless(defined(&AMI_GET_BGI)) {
    sub AMI_GET_BGI () {	0x13;}
}
unless(defined(&AMI_GET_IO_CMPL)) {
    sub AMI_GET_IO_CMPL () {	0x5b;}
}
unless(defined(&AMI_SET_IO_CMPL)) {
    sub AMI_SET_IO_CMPL () {	0x5c;}
}
unless(defined(&AMI_CHFUNC)) {
    sub AMI_CHFUNC () {	0xa9;}
}
unless(defined(&AMI_MANAGE)) {
    sub AMI_MANAGE () {	0xb0;}
}
unless(defined(&AMI_MGR_LUN)) {
    sub AMI_MGR_LUN () {	0x;}
}
unless(defined(&AMI_MGR_THERM)) {
    sub AMI_MGR_THERM () {	0x1;}
}
unless(defined(&AMI_MGR_EEPROM)) {
    sub AMI_MGR_EEPROM () {	0x2;}
}
unless(defined(&AMI_MGR_LDNAMES)) {
    sub AMI_MGR_LDNAMES () {	0x3;}
}
unless(defined(&AMI_MGR_FCWWN)) {
    sub AMI_MGR_FCWWN () {	0x4;}
}
unless(defined(&AMI_MGR_CFGACC)) {
    sub AMI_MGR_CFGACC () {	0x5;}
}
unless(defined(&AMI_HSPDIAG)) {
    sub AMI_HSPDIAG () {	0xb1;}
}
unless(defined(&AMI_GESENSEINFO)) {
    sub AMI_GESENSEINFO () {	0xb2;}
}
unless(defined(&AMI_SYSFLUSH)) {
    sub AMI_SYSFLUSH () {	0xfe;}
}
unless(defined(&acc_mbox)) {
    sub acc_mbox () {	 ($_->{_ami_mbox});}
}
unless(defined(&acc_io)) {
    sub acc_io () {	 ($_->{_ami_io});}
}
unless(defined(&acc_passthru)) {
    sub acc_passthru () {	 ($_->{_ami_passthru});}
}
unless(defined(&acc_ldrv)) {
    sub acc_ldrv () {	 ($_->{_ami_ldrv});}
}
unless(defined(&AMI_MAXSTATACK)) {
    sub AMI_MAXSTATACK () {	0x2e;}
}
unless(defined(&AMI_PTPARAM)) {
    sub AMI_PTPARAM {
	my($t,$a,$l) = @_;
	eval q(((($l) << 7) | ((($a) & 1) << 3) | (($t) & 3)));
    }
}
unless(defined(&AMI_TIMEOUT_6)) {
    sub AMI_TIMEOUT_6 () {	0;}
}
unless(defined(&AMI_TIMEOUT_60)) {
    sub AMI_TIMEOUT_60 () {	1;}
}
unless(defined(&AMI_TIMEOUT_10m)) {
    sub AMI_TIMEOUT_10m () {	2;}
}
unless(defined(&AMI_TIMEOUT_3h)) {
    sub AMI_TIMEOUT_3h () {	3;}
}
unless(defined(&AMI_MAX_CDB)) {
    sub AMI_MAX_CDB () {	10;}
}
unless(defined(&AMI_MAX_SENSE)) {
    sub AMI_MAX_SENSE () {	32;}
}
unless(defined(&AMI_SIGN431)) {
    sub AMI_SIGN431 () {	0xfffe0001;}
}
unless(defined(&AMI_SIGN438)) {
    sub AMI_SIGN438 () {	0xfffd0002;}
}
unless(defined(&AMI_SIGN762)) {
    sub AMI_SIGN762 () {	0xfffc0003;}
}
unless(defined(&AMI_SIGNT5)) {
    sub AMI_SIGNT5 () {	0xfffb0004;}
}
unless(defined(&AMI_SIGN466)) {
    sub AMI_SIGN466 () {	0xfffa0005;}
}
unless(defined(&MAX_NOTIFY_SIZE)) {
    sub MAX_NOTIFY_SIZE () {	0x80;}
}
unless(defined(&CUR_NOTIFY_SIZE)) {
    sub CUR_NOTIFY_SIZE () {	($sizeof{'struct ami_notify'});}
}
unless(defined(&AMI_PARAM_RBLD_RATE)) {
    sub AMI_PARAM_RBLD_RATE () {	0x1;}
}
unless(defined(&AMI_PARAM_CACHE_FLUSH_INTERVAL)) {
    sub AMI_PARAM_CACHE_FLUSH_INTERVAL () {	0x2;}
}
unless(defined(&AMI_PARAM_SENSE_ALERT)) {
    sub AMI_PARAM_SENSE_ALERT () {	0x3;}
}
unless(defined(&AMI_PARAM_DRIVE_INSERTED)) {
    sub AMI_PARAM_DRIVE_INSERTED () {	0x4;}
}
unless(defined(&AMI_PARAM_BATTERY_STATUS)) {
    sub AMI_PARAM_BATTERY_STATUS () {	0x5;}
}
unless(defined(&AMI_PARAM_NVRAM_EVENT_ALERT)) {
    sub AMI_PARAM_NVRAM_EVENT_ALERT () {	0x6;}
}
unless(defined(&AMI_PARAM_PATROL_READ_UPDATE)) {
    sub AMI_PARAM_PATROL_READ_UPDATE () {	0x7;}
}
unless(defined(&AMI_PARAM_PATROL_READ_STATUS)) {
    sub AMI_PARAM_PATROL_READ_STATUS () {	0x8;}
}
unless(defined(&AMI_LDCMD_CHKCONSISTANCY)) {
    sub AMI_LDCMD_CHKCONSISTANCY () {	0x1;}
}
unless(defined(&AMI_LDCMD_INITIALIZE)) {
    sub AMI_LDCMD_INITIALIZE () {	0x2;}
}
unless(defined(&AMI_LDCMD_RECONSTRUCTION)) {
    sub AMI_LDCMD_RECONSTRUCTION () {	0x3;}
}
unless(defined(&AMI_LDOP_SUCCESS)) {
    sub AMI_LDOP_SUCCESS () {	0x;}
}
unless(defined(&AMI_LDOP_FAILED)) {
    sub AMI_LDOP_FAILED () {	0x1;}
}
unless(defined(&AMI_LDOP_ABORTED)) {
    sub AMI_LDOP_ABORTED () {	0x2;}
}
unless(defined(&AMI_LDOP_CORRECTED)) {
    sub AMI_LDOP_CORRECTED () {	0x3;}
}
unless(defined(&AMI_LDOP_STARTED)) {
    sub AMI_LDOP_STARTED () {	0x4;}
}
unless(defined(&AMI_RDRV_OFFLINE)) {
    sub AMI_RDRV_OFFLINE () {	0;}
}
unless(defined(&AMI_RDRV_DEGRADED)) {
    sub AMI_RDRV_DEGRADED () {	1;}
}
unless(defined(&AMI_RDRV_OPTIMAL)) {
    sub AMI_RDRV_OPTIMAL () {	2;}
}
unless(defined(&AMI_RDRV_DELETED)) {
    sub AMI_RDRV_DELETED () {	3;}
}
unless(defined(&AMI_PD_UNCNF)) {
    sub AMI_PD_UNCNF () {	0;}
}
unless(defined(&AMI_PD_ONLINE)) {
    sub AMI_PD_ONLINE () {	3;}
}
unless(defined(&AMI_PD_FAILED)) {
    sub AMI_PD_FAILED () {	4;}
}
unless(defined(&AMI_PD_RBLD)) {
    sub AMI_PD_RBLD () {	5;}
}
unless(defined(&AMI_PD_HOTSPARE)) {
    sub AMI_PD_HOTSPARE () {	6;}
}
unless(defined(&AMI_PDFMT_START)) {
    sub AMI_PDFMT_START () {	0x1;}
}
unless(defined(&AMI_PDFMT_OVER)) {
    sub AMI_PDFMT_OVER () {	0x2;}
}
unless(defined(&AMI_FCLOOP_FAILED)) {
    sub AMI_FCLOOP_FAILED () {	0;}
}
unless(defined(&AMI_FCLOOP_ACTIVE)) {
    sub AMI_FCLOOP_ACTIVE () {	1;}
}
unless(defined(&AMI_FCLOOP_TRANSIENT)) {
    sub AMI_FCLOOP_TRANSIENT () {	2;}
}
unless(defined(&ald)) {
    sub ald () {	 &ada_ldrv;}
}
unless(defined(&asp)) {
    sub asp () {	 &adl_spans;}
}
unless(defined(&adv)) {
    sub adv () {	 &ads_devs;}
}
unless(defined(&apd)) {
    sub apd () {	 &ada_pdrv;}
}
unless(defined(&AMI_ADHERR_TIMEOUT)) {
    sub AMI_ADHERR_TIMEOUT {
	my($e) = @_;
	eval q((($e) & 15));
    }
}
unless(defined(&AMI_ADHERR_PARITY)) {
    sub AMI_ADHERR_PARITY {
	my($e) = @_;
	eval q(((($e) >> 4) & 15));
    }
}
unless(defined(&AMI_ADHTAG_CH)) {
    sub AMI_ADHTAG_CH {
	my($t) = @_;
	eval q((($t) & 7));
    }
}
unless(defined(&AMI_ADHTAG_TARG)) {
    sub AMI_ADHTAG_TARG {
	my($t) = @_;
	eval q(((($t) >> 3) & 15));
    }
}
unless(defined(&AMI_ADHTAG_VALID)) {
    sub AMI_ADHTAG_VALID {
	my($t) = @_;
	eval q((($t) & 0x80));
    }
}
unless(defined(&AMI_ADHERR_MEDIA)) {
    sub AMI_ADHERR_MEDIA () {	1;}
}
unless(defined(&AMI_ADHERR_NMEDIA)) {
    sub AMI_ADHERR_NMEDIA () {	2;}
}
unless(defined(&AMI_ADHERR_CMDTMO)) {
    sub AMI_ADHERR_CMDTMO () {	3;}
}
unless(defined(&AMI_ADHERR_SELTMO)) {
    sub AMI_ADHERR_SELTMO () {	4;}
}
unless(defined(&AMI_ADHERR_HAFAIL)) {
    sub AMI_ADHERR_HAFAIL () {	5;}
}
unless(defined(&AMI_ADHERR_REASSIGN)) {
    sub AMI_ADHERR_REASSIGN () {	6;}
}
unless(defined(&AMI_ADHERR_CMDFAIL)) {
    sub AMI_ADHERR_CMDFAIL () {	7;}
}
unless(defined(&AMI_ADHERR_OTHER)) {
    sub AMI_ADHERR_OTHER () {	8;}
}
unless(defined(&AMI_FAILHISTORY)) {
    sub AMI_FAILHISTORY () {	10;}
}
1;
