require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&AAC_MAX_CONTAINERS)) {
    sub AAC_MAX_CONTAINERS () {	64;}
}
unless(defined(&AAC_BLOCK_SIZE)) {
    sub AAC_BLOCK_SIZE () {	512;}
}
unless(defined(&AAC_HOST_NORM_CMD_ENTRIES)) {
    sub AAC_HOST_NORM_CMD_ENTRIES () {	8;}
}
unless(defined(&AAC_HOST_HIGH_CMD_ENTRIES)) {
    sub AAC_HOST_HIGH_CMD_ENTRIES () {	4;}
}
unless(defined(&AAC_ADAP_NORM_CMD_ENTRIES)) {
    sub AAC_ADAP_NORM_CMD_ENTRIES () {	512;}
}
unless(defined(&AAC_ADAP_HIGH_CMD_ENTRIES)) {
    sub AAC_ADAP_HIGH_CMD_ENTRIES () {	4;}
}
unless(defined(&AAC_HOST_NORM_RESP_ENTRIES)) {
    sub AAC_HOST_NORM_RESP_ENTRIES () {	512;}
}
unless(defined(&AAC_HOST_HIGH_RESP_ENTRIES)) {
    sub AAC_HOST_HIGH_RESP_ENTRIES () {	4;}
}
unless(defined(&AAC_ADAP_NORM_RESP_ENTRIES)) {
    sub AAC_ADAP_NORM_RESP_ENTRIES () {	8;}
}
unless(defined(&AAC_ADAP_HIGH_RESP_ENTRIES)) {
    sub AAC_ADAP_HIGH_RESP_ENTRIES () {	4;}
}
unless(defined(&AAC_TOTALQ_LENGTH)) {
    sub AAC_TOTALQ_LENGTH () {	( &AAC_HOST_HIGH_CMD_ENTRIES +  &AAC_HOST_NORM_CMD_ENTRIES +  &AAC_ADAP_HIGH_CMD_ENTRIES +  &AAC_ADAP_NORM_CMD_ENTRIES +  &AAC_HOST_HIGH_RESP_ENTRIES +  &AAC_HOST_NORM_RESP_ENTRIES +  &AAC_ADAP_HIGH_RESP_ENTRIES +  &AAC_ADAP_NORM_RESP_ENTRIES);}
}
unless(defined(&AAC_QUEUE_COUNT)) {
    sub AAC_QUEUE_COUNT () {	8;}
}
unless(defined(&AAC_QUEUE_ALIGN)) {
    sub AAC_QUEUE_ALIGN () {	16;}
}
unless(defined(&AAC_PRODUCER_INDEX)) {
    sub AAC_PRODUCER_INDEX () {	0;}
}
unless(defined(&AAC_CONSUMER_INDEX)) {
    sub AAC_CONSUMER_INDEX () {	1;}
}
unless(defined(&AAC_HOST_NORM_CMD_QUEUE)) {
    sub AAC_HOST_NORM_CMD_QUEUE () {	0;}
}
unless(defined(&AAC_HOST_HIGH_CMD_QUEUE)) {
    sub AAC_HOST_HIGH_CMD_QUEUE () {	1;}
}
unless(defined(&AAC_ADAP_NORM_CMD_QUEUE)) {
    sub AAC_ADAP_NORM_CMD_QUEUE () {	2;}
}
unless(defined(&AAC_ADAP_HIGH_CMD_QUEUE)) {
    sub AAC_ADAP_HIGH_CMD_QUEUE () {	3;}
}
unless(defined(&AAC_HOST_NORM_RESP_QUEUE)) {
    sub AAC_HOST_NORM_RESP_QUEUE () {	4;}
}
unless(defined(&AAC_HOST_HIGH_RESP_QUEUE)) {
    sub AAC_HOST_HIGH_RESP_QUEUE () {	5;}
}
unless(defined(&AAC_ADAP_NORM_RESP_QUEUE)) {
    sub AAC_ADAP_NORM_RESP_QUEUE () {	6;}
}
unless(defined(&AAC_ADAP_HIGH_RESP_QUEUE)) {
    sub AAC_ADAP_HIGH_RESP_QUEUE () {	7;}
}
unless(defined(&AAC_FIB_DATASIZE)) {
    sub AAC_FIB_DATASIZE () {	(512- $sizeof{'struct aac_fib_header'});}
}
eval("sub TestCommandResponse () { 1; }") unless defined(&TestCommandResponse);
eval("sub TestAdapterCommand () { 2; }") unless defined(&TestAdapterCommand);
eval("sub LastTestCommand () { 100; }") unless defined(&LastTestCommand);
eval("sub ReinitHostNormCommandQueue () { 101; }") unless defined(&ReinitHostNormCommandQueue);
eval("sub ReinitHostHighCommandQueue () { 102; }") unless defined(&ReinitHostHighCommandQueue);
eval("sub ReinitHostHighRespQueue () { 103; }") unless defined(&ReinitHostHighRespQueue);
eval("sub ReinitHostNormRespQueue () { 104; }") unless defined(&ReinitHostNormRespQueue);
eval("sub ReinitAdapNormCommandQueue () { 105; }") unless defined(&ReinitAdapNormCommandQueue);
eval("sub ReinitAdapHighCommandQueue () { 107; }") unless defined(&ReinitAdapHighCommandQueue);
eval("sub ReinitAdapHighRespQueue () { 108; }") unless defined(&ReinitAdapHighRespQueue);
eval("sub ReinitAdapNormRespQueue () { 109; }") unless defined(&ReinitAdapNormRespQueue);
eval("sub InterfaceShutdown () { 110; }") unless defined(&InterfaceShutdown);
eval("sub DmaCommandFib () { 120; }") unless defined(&DmaCommandFib);
eval("sub StartProfile () { 121; }") unless defined(&StartProfile);
eval("sub TermProfile () { 122; }") unless defined(&TermProfile);
eval("sub SpeedTest () { 123; }") unless defined(&SpeedTest);
eval("sub TakeABreakPt () { 124; }") unless defined(&TakeABreakPt);
eval("sub RequestPerfData () { 125; }") unless defined(&RequestPerfData);
eval("sub SetInterruptDefTimer () { 126; }") unless defined(&SetInterruptDefTimer);
eval("sub SetInterruptDefCount () { 127; }") unless defined(&SetInterruptDefCount);
eval("sub GetInterruptDefStatus () { 128; }") unless defined(&GetInterruptDefStatus);
eval("sub LastCommCommand () { 129; }") unless defined(&LastCommCommand);
eval("sub NuFileSystem () { 300; }") unless defined(&NuFileSystem);
eval("sub UFS () { 301; }") unless defined(&UFS);
eval("sub HostFileSystem () { 302; }") unless defined(&HostFileSystem);
eval("sub LastFileSystemCommand () { 303; }") unless defined(&LastFileSystemCommand);
eval("sub ContainerCommand () { 500; }") unless defined(&ContainerCommand);
eval("sub ContainerCommand64 () { 501; }") unless defined(&ContainerCommand64);
eval("sub ClusterCommand () { 550; }") unless defined(&ClusterCommand);
eval("sub ScsiPortCommand () { 600; }") unless defined(&ScsiPortCommand);
eval("sub AifRequest () { 700; }") unless defined(&AifRequest);
eval("sub CheckRevision () { 701; }") unless defined(&CheckRevision);
eval("sub FsaHostShutdown () { 702; }") unless defined(&FsaHostShutdown);
eval("sub RequestAdapterInfo () { 703; }") unless defined(&RequestAdapterInfo);
eval("sub IsAdapterPaused () { 704; }") unless defined(&IsAdapterPaused);
eval("sub SendHostTime () { 705; }") unless defined(&SendHostTime);
eval("sub LastMiscCommand () { 706; }") unless defined(&LastMiscCommand);
unless(defined(&AAC_FIBTYPE_TFIB)) {
    sub AAC_FIBTYPE_TFIB () {	1;}
}
unless(defined(&AAC_FIBTYPE_TQE)) {
    sub AAC_FIBTYPE_TQE () {	2;}
}
unless(defined(&AAC_FIBTYPE_TCTPERF)) {
    sub AAC_FIBTYPE_TCTPERF () {	3;}
}
unless(defined(&AAC_FIBSTATE_HOSTOWNED)) {
    sub AAC_FIBSTATE_HOSTOWNED () {	(1<<0);}
}
unless(defined(&AAC_FIBSTATE_ADAPTEROWNED)) {
    sub AAC_FIBSTATE_ADAPTEROWNED () {	(1<<1);}
}
unless(defined(&AAC_FIBSTATE_INITIALISED)) {
    sub AAC_FIBSTATE_INITIALISED () {	(1<<2);}
}
unless(defined(&AAC_FIBSTATE_EMPTY)) {
    sub AAC_FIBSTATE_EMPTY () {	(1<<3);}
}
unless(defined(&AAC_FIBSTATE_FROMPOOL)) {
    sub AAC_FIBSTATE_FROMPOOL () {	(1<<4);}
}
unless(defined(&AAC_FIBSTATE_FROMHOST)) {
    sub AAC_FIBSTATE_FROMHOST () {	(1<<5);}
}
unless(defined(&AAC_FIBSTATE_FROMADAP)) {
    sub AAC_FIBSTATE_FROMADAP () {	(1<<6);}
}
unless(defined(&AAC_FIBSTATE_REXPECTED)) {
    sub AAC_FIBSTATE_REXPECTED () {	(1<<7);}
}
unless(defined(&AAC_FIBSTATE_RNOTEXPECTED)) {
    sub AAC_FIBSTATE_RNOTEXPECTED () {	(1<<8);}
}
unless(defined(&AAC_FIBSTATE_DONEADAP)) {
    sub AAC_FIBSTATE_DONEADAP () {	(1<<9);}
}
unless(defined(&AAC_FIBSTATE_DONEHOST)) {
    sub AAC_FIBSTATE_DONEHOST () {	(1<<10);}
}
unless(defined(&AAC_FIBSTATE_HIGH)) {
    sub AAC_FIBSTATE_HIGH () {	(1<<11);}
}
unless(defined(&AAC_FIBSTATE_NORM)) {
    sub AAC_FIBSTATE_NORM () {	(1<<12);}
}
unless(defined(&AAC_FIBSTATE_ASYNC)) {
    sub AAC_FIBSTATE_ASYNC () {	(1<<13);}
}
unless(defined(&AAC_FIBSTATE_ASYNCIO)) {
    sub AAC_FIBSTATE_ASYNCIO () {	(1<<13);}
}
unless(defined(&AAC_FIBSTATE_PAGEFILEIO)) {
    sub AAC_FIBSTATE_PAGEFILEIO () {	(1<<14);}
}
unless(defined(&AAC_FIBSTATE_SHUTDOWN)) {
    sub AAC_FIBSTATE_SHUTDOWN () {	(1<<15);}
}
unless(defined(&AAC_FIBSTATE_LAZYWRITE)) {
    sub AAC_FIBSTATE_LAZYWRITE () {	(1<<16);}
}
unless(defined(&AAC_FIBSTATE_ADAPMICROFIB)) {
    sub AAC_FIBSTATE_ADAPMICROFIB () {	(1<<17);}
}
unless(defined(&AAC_FIBSTATE_BIOSFIB)) {
    sub AAC_FIBSTATE_BIOSFIB () {	(1<<18);}
}
unless(defined(&AAC_FIBSTATE_FAST_RESPONSE)) {
    sub AAC_FIBSTATE_FAST_RESPONSE () {	(1<<19);}
}
unless(defined(&AAC_FIBSTATE_APIFIB)) {
    sub AAC_FIBSTATE_APIFIB () {	(1<<20);}
}
unless(defined(&AAC_ERROR_NORMAL)) {
    sub AAC_ERROR_NORMAL () {	0x;}
}
unless(defined(&AAC_ERROR_PENDING)) {
    sub AAC_ERROR_PENDING () {	0x1;}
}
unless(defined(&AAC_ERROR_FATAL)) {
    sub AAC_ERROR_FATAL () {	0x2;}
}
unless(defined(&AAC_ERROR_INVALID_QUEUE)) {
    sub AAC_ERROR_INVALID_QUEUE () {	0x3;}
}
unless(defined(&AAC_ERROR_NOENTRIES)) {
    sub AAC_ERROR_NOENTRIES () {	0x4;}
}
unless(defined(&AAC_ERROR_SENDFAILED)) {
    sub AAC_ERROR_SENDFAILED () {	0x5;}
}
unless(defined(&AAC_ERROR_INVALID_QUEUE_PRIORITY)) {
    sub AAC_ERROR_INVALID_QUEUE_PRIORITY () {	0x6;}
}
unless(defined(&AAC_ERROR_FIB_ALLOCATION_FAILED)) {
    sub AAC_ERROR_FIB_ALLOCATION_FAILED () {	0x7;}
}
unless(defined(&AAC_ERROR_FIB_DEALLOCATION_FAILED)) {
    sub AAC_ERROR_FIB_DEALLOCATION_FAILED () {	0x8;}
}
unless(defined(&AAC_INIT_STRUCT_REVISION)) {
    sub AAC_INIT_STRUCT_REVISION () {	3;}
}
unless(defined(&AAC_INIT_STRUCT_MINIPORT_REVISION)) {
    sub AAC_INIT_STRUCT_MINIPORT_REVISION () {	1;}
}
unless(defined(&AAC_PAGE_SIZE)) {
    sub AAC_PAGE_SIZE () {	4096;}
}
eval("sub CT_NONE () { 0; }") unless defined(&CT_NONE);
eval("sub CT_VOLUME () { 1; }") unless defined(&CT_VOLUME);
eval("sub CT_MIRROR () { 2; }") unless defined(&CT_MIRROR);
eval("sub CT_STRIPE () { 3; }") unless defined(&CT_STRIPE);
eval("sub CT_RAID5 () { 4; }") unless defined(&CT_RAID5);
eval("sub CT_SSRW () { 5; }") unless defined(&CT_SSRW);
eval("sub CT_SSRO () { 6; }") unless defined(&CT_SSRO);
eval("sub CT_MORPH () { 7; }") unless defined(&CT_MORPH);
eval("sub CT_PASSTHRU () { 8; }") unless defined(&CT_PASSTHRU);
eval("sub CT_RAID4 () { 9; }") unless defined(&CT_RAID4);
eval("sub CT_RAID10 () { 10; }") unless defined(&CT_RAID10);
eval("sub CT_RAID00 () { 11; }") unless defined(&CT_RAID00);
eval("sub CT_VOLUME_OF_MIRRORS () { 12; }") unless defined(&CT_VOLUME_OF_MIRRORS);
eval("sub CT_PSEUDO_RAID3 () { 13; }") unless defined(&CT_PSEUDO_RAID3);
eval("sub CT_RAID50 () { 14; }") unless defined(&CT_RAID50);
eval("sub FT_REG () { 1; }") unless defined(&FT_REG);
eval("sub FT_DIR () { 2; }") unless defined(&FT_DIR);
eval("sub FT_BLK () { 3; }") unless defined(&FT_BLK);
eval("sub FT_CHR () { 4; }") unless defined(&FT_CHR);
eval("sub FT_LNK () { 5; }") unless defined(&FT_LNK);
eval("sub FT_SOCK () { 6; }") unless defined(&FT_SOCK);
eval("sub FT_FIFO () { 7; }") unless defined(&FT_FIFO);
eval("sub FT_FILESYS () { 8; }") unless defined(&FT_FILESYS);
eval("sub FT_DRIVE () { 9; }") unless defined(&FT_DRIVE);
eval("sub FT_SLICE () { 10; }") unless defined(&FT_SLICE);
eval("sub FT_PARTITION () { 11; }") unless defined(&FT_PARTITION);
eval("sub FT_VOLUME () { 12; }") unless defined(&FT_VOLUME);
eval("sub FT_STRIPE () { 13; }") unless defined(&FT_STRIPE);
eval("sub FT_MIRROR () { 14; }") unless defined(&FT_MIRROR);
eval("sub FT_RAID5 () { 15; }") unless defined(&FT_RAID5);
eval("sub FT_DATABASE () { 16; }") unless defined(&FT_DATABASE);
eval("sub RevApplication () { 1; }") unless defined(&RevApplication);
eval("sub RevDkiCli () { 2; }") unless defined(&RevDkiCli);
eval("sub RevNetService () { 3; }") unless defined(&RevNetService);
eval("sub RevApi () { 4; }") unless defined(&RevApi);
eval("sub RevFileSysDriver () { 5; }") unless defined(&RevFileSysDriver);
eval("sub RevMiniportDriver () { 6; }") unless defined(&RevMiniportDriver);
eval("sub RevAdapterSW () { 7; }") unless defined(&RevAdapterSW);
eval("sub RevMonitor () { 8; }") unless defined(&RevMonitor);
eval("sub RevRemoteApi () { 9; }") unless defined(&RevRemoteApi);
eval("sub CPU_NTSIM () { 1; }") unless defined(&CPU_NTSIM);
eval("sub CPU_I960 () { 2; }") unless defined(&CPU_I960);
eval("sub CPU_ARM () { 3; }") unless defined(&CPU_ARM);
eval("sub CPU_SPARC () { 4; }") unless defined(&CPU_SPARC);
eval("sub CPU_POWERPC () { 5; }") unless defined(&CPU_POWERPC);
eval("sub CPU_ALPHA () { 6; }") unless defined(&CPU_ALPHA);
eval("sub CPU_P7 () { 7; }") unless defined(&CPU_P7);
eval("sub CPU_I960_RX () { 8; }") unless defined(&CPU_I960_RX);
eval("sub CPU__last () { 9; }") unless defined(&CPU__last);
eval("sub CPUI960_JX () { 1; }") unless defined(&CPUI960_JX);
eval("sub CPUI960_CX () { 2; }") unless defined(&CPUI960_CX);
eval("sub CPUI960_HX () { 3; }") unless defined(&CPUI960_HX);
eval("sub CPUI960_RX () { 4; }") unless defined(&CPUI960_RX);
eval("sub CPUARM_SA110 () { 5; }") unless defined(&CPUARM_SA110);
eval("sub CPUARM_xxx () { 6; }") unless defined(&CPUARM_xxx);
eval("sub CPUMPC_824x () { 7; }") unless defined(&CPUMPC_824x);
eval("sub CPUPPC_xxx () { 8; }") unless defined(&CPUPPC_xxx);
eval("sub CPUI960_302 () { 9; }") unless defined(&CPUI960_302);
eval("sub CPUSUBTYPE__last () { 10; }") unless defined(&CPUSUBTYPE__last);
eval("sub PLAT_NTSIM () { 1; }") unless defined(&PLAT_NTSIM);
eval("sub PLAT_V3ADU () { 2; }") unless defined(&PLAT_V3ADU);
eval("sub PLAT_CYCLONE () { 3; }") unless defined(&PLAT_CYCLONE);
eval("sub PLAT_CYCLONE_HD () { 4; }") unless defined(&PLAT_CYCLONE_HD);
eval("sub PLAT_BATBOARD () { 5; }") unless defined(&PLAT_BATBOARD);
eval("sub PLAT_BATBOARD_HD () { 6; }") unless defined(&PLAT_BATBOARD_HD);
eval("sub PLAT_YOLO () { 7; }") unless defined(&PLAT_YOLO);
eval("sub PLAT_COBRA () { 8; }") unless defined(&PLAT_COBRA);
eval("sub PLAT_ANAHEIM () { 9; }") unless defined(&PLAT_ANAHEIM);
eval("sub PLAT_JALAPENO () { 10; }") unless defined(&PLAT_JALAPENO);
eval("sub PLAT_QUEENS () { 11; }") unless defined(&PLAT_QUEENS);
eval("sub PLAT_JALAPENO_DELL () { 12; }") unless defined(&PLAT_JALAPENO_DELL);
eval("sub PLAT_POBLANO () { 13; }") unless defined(&PLAT_POBLANO);
eval("sub PLAT_POBLANO_OPAL () { 14; }") unless defined(&PLAT_POBLANO_OPAL);
eval("sub PLAT_POBLANO_SL0 () { 15; }") unless defined(&PLAT_POBLANO_SL0);
eval("sub PLAT_POBLANO_SL1 () { 16; }") unless defined(&PLAT_POBLANO_SL1);
eval("sub PLAT_POBLANO_SL2 () { 17; }") unless defined(&PLAT_POBLANO_SL2);
eval("sub PLAT_POBLANO_XXX () { 18; }") unless defined(&PLAT_POBLANO_XXX);
eval("sub PLAT_JALAPENO_P2 () { 19; }") unless defined(&PLAT_JALAPENO_P2);
eval("sub PLAT_HABANERO () { 20; }") unless defined(&PLAT_HABANERO);
eval("sub PLAT__last () { 21; }") unless defined(&PLAT__last);
eval("sub OEM_FLAVOR_ADAPTEC () { 1; }") unless defined(&OEM_FLAVOR_ADAPTEC);
eval("sub OEM_FLAVOR_DELL () { 2; }") unless defined(&OEM_FLAVOR_DELL);
eval("sub OEM_FLAVOR_HP () { 3; }") unless defined(&OEM_FLAVOR_HP);
eval("sub OEM_FLAVOR_IBM () { 4; }") unless defined(&OEM_FLAVOR_IBM);
eval("sub OEM_FLAVOR_CPQ () { 5; }") unless defined(&OEM_FLAVOR_CPQ);
eval("sub OEM_FLAVOR_BRAND_X () { 6; }") unless defined(&OEM_FLAVOR_BRAND_X);
eval("sub OEM_FLAVOR_BRAND_Y () { 7; }") unless defined(&OEM_FLAVOR_BRAND_Y);
eval("sub OEM_FLAVOR_BRAND_Z () { 8; }") unless defined(&OEM_FLAVOR_BRAND_Z);
eval("sub OEM_FLAVOR__last () { 9; }") unless defined(&OEM_FLAVOR__last);
eval("sub PLATFORM_BAT_REQ_PRESENT () { 1; }") unless defined(&PLATFORM_BAT_REQ_PRESENT);
eval("sub PLATFORM_BAT_REQ_NOTPRESENT () { 2; }") unless defined(&PLATFORM_BAT_REQ_NOTPRESENT);
eval("sub PLATFORM_BAT_OPT_PRESENT () { 3; }") unless defined(&PLATFORM_BAT_OPT_PRESENT);
eval("sub PLATFORM_BAT_OPT_NOTPRESENT () { 4; }") unless defined(&PLATFORM_BAT_OPT_NOTPRESENT);
eval("sub PLATFORM_BAT_NOT_SUPPORTED () { 5; }") unless defined(&PLATFORM_BAT_NOT_SUPPORTED);
unless(defined(&AAC_SUPPORTED_SNAPSHOT)) {
    sub AAC_SUPPORTED_SNAPSHOT () {	0x1;}
}
unless(defined(&AAC_SUPPORTED_CLUSTERS)) {
    sub AAC_SUPPORTED_CLUSTERS () {	0x2;}
}
unless(defined(&AAC_SUPPORTED_WRITE_CACHE)) {
    sub AAC_SUPPORTED_WRITE_CACHE () {	0x4;}
}
unless(defined(&AAC_SUPPORTED_64BIT_DATA)) {
    sub AAC_SUPPORTED_64BIT_DATA () {	0x8;}
}
unless(defined(&AAC_SUPPORTED_HOST_TIME_FIB)) {
    sub AAC_SUPPORTED_HOST_TIME_FIB () {	0x10;}
}
unless(defined(&AAC_SUPPORTED_RAID50)) {
    sub AAC_SUPPORTED_RAID50 () {	0x20;}
}
unless(defined(&AAC_SUPPORTED_4GB_WINDOW)) {
    sub AAC_SUPPORTED_4GB_WINDOW () {	0x40;}
}
unless(defined(&AAC_SUPPORTED_SCSI_UPGRADEABLE)) {
    sub AAC_SUPPORTED_SCSI_UPGRADEABLE () {	0x80;}
}
unless(defined(&AAC_SUPPORTED_SOFT_ERR_REPORT)) {
    sub AAC_SUPPORTED_SOFT_ERR_REPORT () {	0x100;}
}
unless(defined(&AAC_SUPPORTED_NOT_RECONDITION)) {
    sub AAC_SUPPORTED_NOT_RECONDITION () {	0x200;}
}
unless(defined(&AAC_SUPPORTED_SGMAP_HOST64)) {
    sub AAC_SUPPORTED_SGMAP_HOST64 () {	0x400;}
}
unless(defined(&AAC_SUPPORTED_ALARM)) {
    sub AAC_SUPPORTED_ALARM () {	0x800;}
}
unless(defined(&AAC_SUPPORTED_NONDASD)) {
    sub AAC_SUPPORTED_NONDASD () {	0x1000;}
}
unless(defined(&AAC_MONKER_INITSTRUCT)) {
    sub AAC_MONKER_INITSTRUCT () {	0x5;}
}
unless(defined(&AAC_MONKER_SYNCFIB)) {
    sub AAC_MONKER_SYNCFIB () {	0xc;}
}
unless(defined(&AAC_MONKER_GETKERNVER)) {
    sub AAC_MONKER_GETKERNVER () {	0x11;}
}
unless(defined(&AAC_MONKER_GETINFO)) {
    sub AAC_MONKER_GETINFO () {	0x19;}
}
unless(defined(&AAC_SELF_TEST_FAILED)) {
    sub AAC_SELF_TEST_FAILED () {	0x4;}
}
unless(defined(&AAC_UP_AND_RUNNING)) {
    sub AAC_UP_AND_RUNNING () {	0x80;}
}
unless(defined(&AAC_KERNEL_PANIC)) {
    sub AAC_KERNEL_PANIC () {	0x100;}
}
unless(defined(&AAC_NFILESYS)) {
    sub AAC_NFILESYS () {	24;}
}
eval("sub NVSTATUS_DISABLED () { 0; }") unless defined(&NVSTATUS_DISABLED);
eval("sub NVSTATUS_ENABLED () { 1; }") unless defined(&NVSTATUS_ENABLED);
eval("sub NVSTATUS_ERROR () { 2; }") unless defined(&NVSTATUS_ERROR);
eval("sub NVSTATUS_BATTERY () { 3; }") unless defined(&NVSTATUS_BATTERY);
eval("sub NVSTATUS_UNKNOWN () { 4; }") unless defined(&NVSTATUS_UNKNOWN);
eval("sub NVBATTSTATUS_NONE () { 0; }") unless defined(&NVBATTSTATUS_NONE);
eval("sub NVBATTSTATUS_LOW () { 1; }") unless defined(&NVBATTSTATUS_LOW);
eval("sub NVBATTSTATUS_OK () { 2; }") unless defined(&NVBATTSTATUS_OK);
eval("sub NVBATTSTATUS_RECONDITIONING () { 3; }") unless defined(&NVBATTSTATUS_RECONDITIONING);
eval("sub NVBATT_TRANSITION_NONE () { 0; }") unless defined(&NVBATT_TRANSITION_NONE);
eval("sub NVBATT_TRANSITION_LOW () { 1; }") unless defined(&NVBATT_TRANSITION_LOW);
eval("sub NVBATT_TRANSITION_OK () { 2; }") unless defined(&NVBATT_TRANSITION_OK);
eval("sub AifJobStsSuccess () { 1; }") unless defined(&AifJobStsSuccess);
eval("sub AifJobStsFinished () { 2; }") unless defined(&AifJobStsFinished);
eval("sub AifJobStsAborted () { 3; }") unless defined(&AifJobStsAborted);
eval("sub AifJobStsFailed () { 4; }") unless defined(&AifJobStsFailed);
eval("sub AifJobStsLastReportMarker () { 100; }") unless defined(&AifJobStsLastReportMarker);
eval("sub AifJobStsSuspended () { 101; }") unless defined(&AifJobStsSuspended);
eval("sub AifJobStsRunning () { 102; }") unless defined(&AifJobStsRunning);
eval("sub AifJobScsiMin () { 1; }") unless defined(&AifJobScsiMin);
eval("sub AifJobScsiZero () { 2; }") unless defined(&AifJobScsiZero);
eval("sub AifJobScsiVerify () { 3; }") unless defined(&AifJobScsiVerify);
eval("sub AifJobScsiExercise () { 4; }") unless defined(&AifJobScsiExercise);
eval("sub AifJobScsiVerifyRepair () { 5; }") unless defined(&AifJobScsiVerifyRepair);
eval("sub AifJobScsiMax () { 99; }") unless defined(&AifJobScsiMax);
eval("sub AifJobCtrMin () { 100; }") unless defined(&AifJobCtrMin);
eval("sub AifJobCtrZero () { 101; }") unless defined(&AifJobCtrZero);
eval("sub AifJobCtrCopy () { 102; }") unless defined(&AifJobCtrCopy);
eval("sub AifJobCtrCreateMirror () { 103; }") unless defined(&AifJobCtrCreateMirror);
eval("sub AifJobCtrMergeMirror () { 104; }") unless defined(&AifJobCtrMergeMirror);
eval("sub AifJobCtrScrubMirror () { 105; }") unless defined(&AifJobCtrScrubMirror);
eval("sub AifJobCtrRebuildRaid5 () { 106; }") unless defined(&AifJobCtrRebuildRaid5);
eval("sub AifJobCtrScrubRaid5 () { 107; }") unless defined(&AifJobCtrScrubRaid5);
eval("sub AifJobCtrMorph () { 108; }") unless defined(&AifJobCtrMorph);
eval("sub AifJobCtrPartCopy () { 109; }") unless defined(&AifJobCtrPartCopy);
eval("sub AifJobCtrRebuildMirror () { 110; }") unless defined(&AifJobCtrRebuildMirror);
eval("sub AifJobCtrCrazyCache () { 111; }") unless defined(&AifJobCtrCrazyCache);
eval("sub AifJobCtrMax () { 199; }") unless defined(&AifJobCtrMax);
eval("sub AifJobFsMin () { 200; }") unless defined(&AifJobFsMin);
eval("sub AifJobFsCreate () { 201; }") unless defined(&AifJobFsCreate);
eval("sub AifJobFsVerify () { 202; }") unless defined(&AifJobFsVerify);
eval("sub AifJobFsExtend () { 203; }") unless defined(&AifJobFsExtend);
eval("sub AifJobFsMax () { 299; }") unless defined(&AifJobFsMax);
eval("sub AifJobApiFormatNTFS () { 300; }") unless defined(&AifJobApiFormatNTFS);
eval("sub AifJobApiFormatFAT () { 301; }") unless defined(&AifJobApiFormatFAT);
eval("sub AifJobApiUpdateSnapshot () { 302; }") unless defined(&AifJobApiUpdateSnapshot);
eval("sub AifJobApiFormatFAT32 () { 303; }") unless defined(&AifJobApiFormatFAT32);
eval("sub AifJobApiMax () { 399; }") unless defined(&AifJobApiMax);
eval("sub AifJobCtlContinuousCtrVerify () { 400; }") unless defined(&AifJobCtlContinuousCtrVerify);
eval("sub AifJobCtlMax () { 499; }") unless defined(&AifJobCtlMax);
eval("sub AifEnGeneric () { 1; }") unless defined(&AifEnGeneric);
eval("sub AifEnTaskComplete () { 2; }") unless defined(&AifEnTaskComplete);
eval("sub AifEnConfigChange () { 3; }") unless defined(&AifEnConfigChange);
eval("sub AifEnContainerChange () { 4; }") unless defined(&AifEnContainerChange);
eval("sub AifEnDeviceFailure () { 5; }") unless defined(&AifEnDeviceFailure);
eval("sub AifEnMirrorFailover () { 6; }") unless defined(&AifEnMirrorFailover);
eval("sub AifEnContainerEvent () { 7; }") unless defined(&AifEnContainerEvent);
eval("sub AifEnFileSystemChange () { 8; }") unless defined(&AifEnFileSystemChange);
eval("sub AifEnConfigPause () { 9; }") unless defined(&AifEnConfigPause);
eval("sub AifEnConfigResume () { 10; }") unless defined(&AifEnConfigResume);
eval("sub AifEnFailoverChange () { 11; }") unless defined(&AifEnFailoverChange);
eval("sub AifEnRAID5RebuildDone () { 12; }") unless defined(&AifEnRAID5RebuildDone);
eval("sub AifEnEnclosureManagement () { 13; }") unless defined(&AifEnEnclosureManagement);
eval("sub AifEnBatteryEvent () { 14; }") unless defined(&AifEnBatteryEvent);
eval("sub AifEnAddContainer () { 15; }") unless defined(&AifEnAddContainer);
eval("sub AifEnDeleteContainer () { 16; }") unless defined(&AifEnDeleteContainer);
eval("sub AifEnSMARTEvent () { 17; }") unless defined(&AifEnSMARTEvent);
eval("sub AifEnBatteryNeedsRecond () { 18; }") unless defined(&AifEnBatteryNeedsRecond);
eval("sub AifEnClusterEvent () { 19; }") unless defined(&AifEnClusterEvent);
eval("sub AifEnDiskSetEvent () { 20; }") unless defined(&AifEnDiskSetEvent);
eval("sub AifDriverNotifyStart () { 199; }") unless defined(&AifDriverNotifyStart);
eval("sub AifDenMorphComplete () { 200; }") unless defined(&AifDenMorphComplete);
eval("sub AifDenVolumeExtendComplete () { 201; }") unless defined(&AifDenVolumeExtendComplete);
eval("sub CLUSTER_NULL_EVENT () { 0; }") unless defined(&CLUSTER_NULL_EVENT);
eval("sub CLUSTER_PARTNER_NAME_EVENT () { 1; }") unless defined(&CLUSTER_PARTNER_NAME_EVENT);
eval("sub CLUSTER_PARTNER_NULL_NAME_EVENT () { 2; }") unless defined(&CLUSTER_PARTNER_NULL_NAME_EVENT);
unless(defined(&AAC_AIF_REPORT_MAX_SIZE)) {
    sub AAC_AIF_REPORT_MAX_SIZE () {	64;}
}
eval("sub AifCmdEventNotify () { 1; }") unless defined(&AifCmdEventNotify);
eval("sub AifCmdJobProgress () { 2; }") unless defined(&AifCmdJobProgress);
eval("sub AifCmdAPIReport () { 3; }") unless defined(&AifCmdAPIReport);
eval("sub AifCmdDriverNotify () { 4; }") unless defined(&AifCmdDriverNotify);
eval("sub AifReqJobList () { 100; }") unless defined(&AifReqJobList);
eval("sub AifReqJobsForCtr () { 101; }") unless defined(&AifReqJobsForCtr);
eval("sub AifReqJobsForScsi () { 102; }") unless defined(&AifReqJobsForScsi);
eval("sub AifReqJobReport () { 103; }") unless defined(&AifReqJobReport);
eval("sub AifReqTerminateJob () { 104; }") unless defined(&AifReqTerminateJob);
eval("sub AifReqSuspendJob () { 105; }") unless defined(&AifReqSuspendJob);
eval("sub AifReqResumeJob () { 106; }") unless defined(&AifReqResumeJob);
eval("sub AifReqSendAPIReport () { 107; }") unless defined(&AifReqSendAPIReport);
eval("sub AifReqAPIJobStart () { 108; }") unless defined(&AifReqAPIJobStart);
eval("sub AifReqAPIJobUpdate () { 109; }") unless defined(&AifReqAPIJobUpdate);
eval("sub AifReqAPIJobFinish () { 110; }") unless defined(&AifReqAPIJobFinish);
eval("sub Null () { 0; }") unless defined(&Null);
eval("sub GetAttributes () { 1; }") unless defined(&GetAttributes);
eval("sub SetAttributes () { 2; }") unless defined(&SetAttributes);
eval("sub Lookup () { 3; }") unless defined(&Lookup);
eval("sub ReadLink () { 4; }") unless defined(&ReadLink);
eval("sub Read () { 5; }") unless defined(&Read);
eval("sub Write () { 6; }") unless defined(&Write);
eval("sub Create () { 7; }") unless defined(&Create);
eval("sub MakeDirectory () { 8; }") unless defined(&MakeDirectory);
eval("sub SymbolicLink () { 9; }") unless defined(&SymbolicLink);
eval("sub MakeNode () { 10; }") unless defined(&MakeNode);
eval("sub Removex () { 11; }") unless defined(&Removex);
eval("sub RemoveDirectory () { 12; }") unless defined(&RemoveDirectory);
eval("sub Rename () { 13; }") unless defined(&Rename);
eval("sub Link () { 14; }") unless defined(&Link);
eval("sub ReadDirectory () { 15; }") unless defined(&ReadDirectory);
eval("sub ReadDirectoryPlus () { 16; }") unless defined(&ReadDirectoryPlus);
eval("sub FileSystemStatus () { 17; }") unless defined(&FileSystemStatus);
eval("sub FileSystemInfo () { 18; }") unless defined(&FileSystemInfo);
eval("sub PathConfigure () { 19; }") unless defined(&PathConfigure);
eval("sub Commit () { 20; }") unless defined(&Commit);
eval("sub Mount () { 21; }") unless defined(&Mount);
eval("sub UnMount () { 22; }") unless defined(&UnMount);
eval("sub Newfs () { 23; }") unless defined(&Newfs);
eval("sub FsCheck () { 24; }") unless defined(&FsCheck);
eval("sub FsSync () { 25; }") unless defined(&FsSync);
eval("sub SimReadWrite () { 26; }") unless defined(&SimReadWrite);
eval("sub SetFileSystemStatus () { 27; }") unless defined(&SetFileSystemStatus);
eval("sub BlockRead () { 28; }") unless defined(&BlockRead);
eval("sub BlockWrite () { 29; }") unless defined(&BlockWrite);
eval("sub NvramIoctl () { 30; }") unless defined(&NvramIoctl);
eval("sub FsSyncWait () { 31; }") unless defined(&FsSyncWait);
eval("sub ClearArchiveBit () { 32; }") unless defined(&ClearArchiveBit);
eval("sub SetAcl () { 33; }") unless defined(&SetAcl);
eval("sub GetAcl () { 34; }") unless defined(&GetAcl);
eval("sub AssignAcl () { 35; }") unless defined(&AssignAcl);
eval("sub FaultInsertion () { 36; }") unless defined(&FaultInsertion);
eval("sub CrazyCache () { 37; }") unless defined(&CrazyCache);
eval("sub ST_OK () { 0; }") unless defined(&ST_OK);
eval("sub ST_PERM () { 1; }") unless defined(&ST_PERM);
eval("sub ST_NOENT () { 2; }") unless defined(&ST_NOENT);
eval("sub ST_IO () { 5; }") unless defined(&ST_IO);
eval("sub ST_NXIO () { 6; }") unless defined(&ST_NXIO);
eval("sub ST_E2BIG () { 7; }") unless defined(&ST_E2BIG);
eval("sub ST_ACCES () { 13; }") unless defined(&ST_ACCES);
eval("sub ST_EXIST () { 17; }") unless defined(&ST_EXIST);
eval("sub ST_XDEV () { 18; }") unless defined(&ST_XDEV);
eval("sub ST_NODEV () { 19; }") unless defined(&ST_NODEV);
eval("sub ST_NOTDIR () { 20; }") unless defined(&ST_NOTDIR);
eval("sub ST_ISDIR () { 21; }") unless defined(&ST_ISDIR);
eval("sub ST_INVAL () { 22; }") unless defined(&ST_INVAL);
eval("sub ST_FBIG () { 27; }") unless defined(&ST_FBIG);
eval("sub ST_NOSPC () { 28; }") unless defined(&ST_NOSPC);
eval("sub ST_ROFS () { 30; }") unless defined(&ST_ROFS);
eval("sub ST_MLINK () { 31; }") unless defined(&ST_MLINK);
eval("sub ST_WOULDBLOCK () { 35; }") unless defined(&ST_WOULDBLOCK);
eval("sub ST_NAMETOOLONG () { 63; }") unless defined(&ST_NAMETOOLONG);
eval("sub ST_NOTEMPTY () { 66; }") unless defined(&ST_NOTEMPTY);
eval("sub ST_DQUOT () { 69; }") unless defined(&ST_DQUOT);
eval("sub ST_STALE () { 70; }") unless defined(&ST_STALE);
eval("sub ST_REMOTE () { 71; }") unless defined(&ST_REMOTE);
eval("sub ST_BADHANDLE () { 10001; }") unless defined(&ST_BADHANDLE);
eval("sub ST_NOT_SYNC () { 10002; }") unless defined(&ST_NOT_SYNC);
eval("sub ST_BAD_COOKIE () { 10003; }") unless defined(&ST_BAD_COOKIE);
eval("sub ST_NOTSUPP () { 10004; }") unless defined(&ST_NOTSUPP);
eval("sub ST_TOOSMALL () { 10005; }") unless defined(&ST_TOOSMALL);
eval("sub ST_SERVERFAULT () { 10006; }") unless defined(&ST_SERVERFAULT);
eval("sub ST_BADTYPE () { 10007; }") unless defined(&ST_BADTYPE);
eval("sub ST_JUKEBOX () { 10008; }") unless defined(&ST_JUKEBOX);
eval("sub ST_NOTMOUNTED () { 10009; }") unless defined(&ST_NOTMOUNTED);
eval("sub ST_MAINTMODE () { 10010; }") unless defined(&ST_MAINTMODE);
eval("sub ST_STALEACL () { 10011; }") unless defined(&ST_STALEACL);
eval("sub VM_Null () { 0; }") unless defined(&VM_Null);
eval("sub VM_NameServe () { 1; }") unless defined(&VM_NameServe);
eval("sub VM_ContainerConfig () { 2; }") unless defined(&VM_ContainerConfig);
eval("sub VM_Ioctl () { 3; }") unless defined(&VM_Ioctl);
eval("sub VM_FilesystemIoctl () { 4; }") unless defined(&VM_FilesystemIoctl);
eval("sub VM_CloseAll () { 5; }") unless defined(&VM_CloseAll);
eval("sub VM_CtBlockRead () { 6; }") unless defined(&VM_CtBlockRead);
eval("sub VM_CtBlockWrite () { 7; }") unless defined(&VM_CtBlockWrite);
eval("sub VM_SliceBlockRead () { 8; }") unless defined(&VM_SliceBlockRead);
eval("sub VM_SliceBlockWrite () { 9; }") unless defined(&VM_SliceBlockWrite);
eval("sub VM_DriveBlockRead () { 10; }") unless defined(&VM_DriveBlockRead);
eval("sub VM_DriveBlockWrite () { 11; }") unless defined(&VM_DriveBlockWrite);
eval("sub VM_EnclosureMgt () { 12; }") unless defined(&VM_EnclosureMgt);
eval("sub VM_Unused () { 13; }") unless defined(&VM_Unused);
eval("sub VM_CtBlockVerify () { 14; }") unless defined(&VM_CtBlockVerify);
eval("sub VM_CtPerf () { 15; }") unless defined(&VM_CtPerf);
eval("sub VM_CtBlockRead64 () { 16; }") unless defined(&VM_CtBlockRead64);
eval("sub VM_CtBlockWrite64 () { 17; }") unless defined(&VM_CtBlockWrite64);
eval("sub VM_CtBlockVerify64 () { 18; }") unless defined(&VM_CtBlockVerify64);
eval("sub VM_CtHostRead64 () { 19; }") unless defined(&VM_CtHostRead64);
eval("sub VM_CtHostWrite64 () { 20; }") unless defined(&VM_CtHostWrite64);
unless(defined(&FSCS_READONLY)) {
    sub FSCS_READONLY () {	0x2;}
}
unless(defined(&CT_GET_SCSI_METHOD)) {
    sub CT_GET_SCSI_METHOD () {	64;}
}
unless(defined(&AAC_SCSI_MAX_PORTS)) {
    sub AAC_SCSI_MAX_PORTS () {	10;}
}
unless(defined(&AAC_BUS_NO_EXIST)) {
    sub AAC_BUS_NO_EXIST () {	0;}
}
unless(defined(&AAC_BUS_VALID)) {
    sub AAC_BUS_VALID () {	1;}
}
unless(defined(&AAC_BUS_FAULTED)) {
    sub AAC_BUS_FAULTED () {	2;}
}
unless(defined(&AAC_BUS_DISABLED)) {
    sub AAC_BUS_DISABLED () {	3;}
}
unless(defined(&GetBusInfo)) {
    sub GetBusInfo () {	0x9;}
}
unless(defined(&AAC_BTL_TO_HANDLE)) {
    sub AAC_BTL_TO_HANDLE {
	my($b, $t, $l) = @_;
	eval q(((($b & 0x3f) << 7) | (($l & 0x7) << 4) | ($t & 0xf)));
    }
}
unless(defined(&GetDeviceProbeInfo)) {
    sub GetDeviceProbeInfo () {	0x5;}
}
unless(defined(&ResetBus)) {
    sub ResetBus () {	0x16;}
}
eval("sub CSTABLE () { 1; }") unless defined(&CSTABLE);
eval("sub CUNSTABLE () { 2; }") unless defined(&CUNSTABLE);
eval("sub CMFILE_SYNC_NVRAM () { 1; }") unless defined(&CMFILE_SYNC_NVRAM);
eval("sub CMDATA_SYNC_NVRAM () { 2; }") unless defined(&CMDATA_SYNC_NVRAM);
eval("sub CMFILE_SYNC () { 3; }") unless defined(&CMFILE_SYNC);
eval("sub CMDATA_SYNC () { 4; }") unless defined(&CMDATA_SYNC);
eval("sub CMUNSTABLE () { 5; }") unless defined(&CMUNSTABLE);
eval("sub AAC_SRB_FUNC_EXECUTE_SCSI () { 0x00; }") unless defined(&AAC_SRB_FUNC_EXECUTE_SCSI);
eval("sub AAC_SRB_FUNC_CLAIM_DEVICE () { 1; }") unless defined(&AAC_SRB_FUNC_CLAIM_DEVICE);
eval("sub AAC_SRB_FUNC_IO_CONTROL () { 2; }") unless defined(&AAC_SRB_FUNC_IO_CONTROL);
eval("sub AAC_SRB_FUNC_RECEIVE_EVENT () { 3; }") unless defined(&AAC_SRB_FUNC_RECEIVE_EVENT);
eval("sub AAC_SRB_FUNC_RELEASE_QUEUE () { 4; }") unless defined(&AAC_SRB_FUNC_RELEASE_QUEUE);
eval("sub AAC_SRB_FUNC_ATTACH_DEVICE () { 5; }") unless defined(&AAC_SRB_FUNC_ATTACH_DEVICE);
eval("sub AAC_SRB_FUNC_RELEASE_DEVICE () { 6; }") unless defined(&AAC_SRB_FUNC_RELEASE_DEVICE);
eval("sub AAC_SRB_FUNC_SHUTDOWN () { 7; }") unless defined(&AAC_SRB_FUNC_SHUTDOWN);
eval("sub AAC_SRB_FUNC_FLUSH () { 8; }") unless defined(&AAC_SRB_FUNC_FLUSH);
eval("sub AAC_SRB_FUNC_ABORT_COMMAND () { 0x10; }") unless defined(&AAC_SRB_FUNC_ABORT_COMMAND);
eval("sub AAC_SRB_FUNC_RELEASE_RECOVERY () { 1; }") unless defined(&AAC_SRB_FUNC_RELEASE_RECOVERY);
eval("sub AAC_SRB_FUNC_RESET_BUS () { 2; }") unless defined(&AAC_SRB_FUNC_RESET_BUS);
eval("sub AAC_SRB_FUNC_RESET_DEVICE () { 3; }") unless defined(&AAC_SRB_FUNC_RESET_DEVICE);
eval("sub AAC_SRB_FUNC_TERMINATE_IO () { 4; }") unless defined(&AAC_SRB_FUNC_TERMINATE_IO);
eval("sub AAC_SRB_FUNC_FLUSH_QUEUE () { 5; }") unless defined(&AAC_SRB_FUNC_FLUSH_QUEUE);
eval("sub AAC_SRB_FUNC_REMOVE_DEVICE () { 6; }") unless defined(&AAC_SRB_FUNC_REMOVE_DEVICE);
eval("sub AAC_SRB_FUNC_DOMAIN_VALIDATION () { 7; }") unless defined(&AAC_SRB_FUNC_DOMAIN_VALIDATION);
unless(defined(&AAC_SRB_FLAGS_NO_DATA_XFER)) {
    sub AAC_SRB_FLAGS_NO_DATA_XFER () {	0x;}
}
unless(defined(&AAC_SRB_FLAGS_DISABLE_DISCONNECT)) {
    sub AAC_SRB_FLAGS_DISABLE_DISCONNECT () {	0x4;}
}
unless(defined(&AAC_SRB_FLAGS_DISABLE_SYNC_TRANSFER)) {
    sub AAC_SRB_FLAGS_DISABLE_SYNC_TRANSFER () {	0x8;}
}
unless(defined(&AAC_SRB_FLAGS_BYPASS_FROZEN_QUEUE)) {
    sub AAC_SRB_FLAGS_BYPASS_FROZEN_QUEUE () {	0x10;}
}
unless(defined(&AAC_SRB_FLAGS_DISABLE_AUTOSENSE)) {
    sub AAC_SRB_FLAGS_DISABLE_AUTOSENSE () {	0x20;}
}
unless(defined(&AAC_SRB_FLAGS_DATA_IN)) {
    sub AAC_SRB_FLAGS_DATA_IN () {	0x40;}
}
unless(defined(&AAC_SRB_FLAGS_DATA_OUT)) {
    sub AAC_SRB_FLAGS_DATA_OUT () {	0x80;}
}
unless(defined(&AAC_SRB_FLAGS_UNSPECIFIED_DIRECTION)) {
    sub AAC_SRB_FLAGS_UNSPECIFIED_DIRECTION () {	( &AAC_SRB_FLAGS_DATA_IN |  &AAC_SRB_FLAGS_DATA_OUT);}
}
unless(defined(&AAC_HOST_SENSE_DATA_MAX)) {
    sub AAC_HOST_SENSE_DATA_MAX () {	30;}
}
eval("sub AAC_SRB_STS_PENDING () { 0x00; }") unless defined(&AAC_SRB_STS_PENDING);
eval("sub AAC_SRB_STS_SUCCESS () { 1; }") unless defined(&AAC_SRB_STS_SUCCESS);
eval("sub AAC_SRB_STS_ABORTED () { 2; }") unless defined(&AAC_SRB_STS_ABORTED);
eval("sub AAC_SRB_STS_ABORT_FAILED () { 3; }") unless defined(&AAC_SRB_STS_ABORT_FAILED);
eval("sub AAC_SRB_STS_ERROR () { 4; }") unless defined(&AAC_SRB_STS_ERROR);
eval("sub AAC_SRB_STS_BUSY () { 5; }") unless defined(&AAC_SRB_STS_BUSY);
eval("sub AAC_SRB_STS_INVALID_REQUEST () { 6; }") unless defined(&AAC_SRB_STS_INVALID_REQUEST);
eval("sub AAC_SRB_STS_INVALID_PATH_ID () { 7; }") unless defined(&AAC_SRB_STS_INVALID_PATH_ID);
eval("sub AAC_SRB_STS_NO_DEVICE () { 8; }") unless defined(&AAC_SRB_STS_NO_DEVICE);
eval("sub AAC_SRB_STS_TIMEOUT () { 9; }") unless defined(&AAC_SRB_STS_TIMEOUT);
eval("sub AAC_SRB_STS_SELECTION_TIMEOUT () { 10; }") unless defined(&AAC_SRB_STS_SELECTION_TIMEOUT);
eval("sub AAC_SRB_STS_COMMAND_TIMEOUT () { 11; }") unless defined(&AAC_SRB_STS_COMMAND_TIMEOUT);
eval("sub AAC_SRB_STS_MESSAGE_REJECTED () { 0x0D; }") unless defined(&AAC_SRB_STS_MESSAGE_REJECTED);
eval("sub AAC_SRB_STS_BUS_RESET () { 1; }") unless defined(&AAC_SRB_STS_BUS_RESET);
eval("sub AAC_SRB_STS_PARITY_ERROR () { 2; }") unless defined(&AAC_SRB_STS_PARITY_ERROR);
eval("sub AAC_SRB_STS_REQUEST_SENSE_FAILED () { 3; }") unless defined(&AAC_SRB_STS_REQUEST_SENSE_FAILED);
eval("sub AAC_SRB_STS_NO_HBA () { 4; }") unless defined(&AAC_SRB_STS_NO_HBA);
eval("sub AAC_SRB_STS_DATA_OVERRUN () { 5; }") unless defined(&AAC_SRB_STS_DATA_OVERRUN);
eval("sub AAC_SRB_STS_UNEXPECTED_BUS_FREE () { 6; }") unless defined(&AAC_SRB_STS_UNEXPECTED_BUS_FREE);
eval("sub AAC_SRB_STS_PHASE_SEQUENCE_FAILURE () { 7; }") unless defined(&AAC_SRB_STS_PHASE_SEQUENCE_FAILURE);
eval("sub AAC_SRB_STS_BAD_SRB_BLOCK_LENGTH () { 8; }") unless defined(&AAC_SRB_STS_BAD_SRB_BLOCK_LENGTH);
eval("sub AAC_SRB_STS_REQUEST_FLUSHED () { 9; }") unless defined(&AAC_SRB_STS_REQUEST_FLUSHED);
eval("sub AAC_SRB_STS_INVALID_LUN () { 0x20; }") unless defined(&AAC_SRB_STS_INVALID_LUN);
eval("sub AAC_SRB_STS_INVALID_TARGET_ID () { 1; }") unless defined(&AAC_SRB_STS_INVALID_TARGET_ID);
eval("sub AAC_SRB_STS_BAD_FUNCTION () { 2; }") unless defined(&AAC_SRB_STS_BAD_FUNCTION);
eval("sub AAC_SRB_STS_ERROR_RECOVERY () { 3; }") unless defined(&AAC_SRB_STS_ERROR_RECOVERY);
unless(defined(&AAC_FA_DOORBELL0_CLEAR)) {
    sub AAC_FA_DOORBELL0_CLEAR () {	0x;}
}
unless(defined(&AAC_FA_DOORBELL1_CLEAR)) {
    sub AAC_FA_DOORBELL1_CLEAR () {	0x2;}
}
unless(defined(&AAC_FA_DOORBELL0)) {
    sub AAC_FA_DOORBELL0 () {	0x4;}
}
unless(defined(&AAC_FA_DOORBELL1)) {
    sub AAC_FA_DOORBELL1 () {	0x6;}
}
unless(defined(&AAC_FA_MASK0_CLEAR)) {
    sub AAC_FA_MASK0_CLEAR () {	0x8;}
}
unless(defined(&AAC_FA_MASK1_CLEAR)) {
    sub AAC_FA_MASK1_CLEAR () {	0xa;}
}
unless(defined(&AAC_FA_MASK0)) {
    sub AAC_FA_MASK0 () {	0xc;}
}
unless(defined(&AAC_FA_MASK1)) {
    sub AAC_FA_MASK1 () {	0xe;}
}
unless(defined(&AAC_FA_MAILBOX)) {
    sub AAC_FA_MAILBOX () {	0x10;}
}
unless(defined(&AAC_FA_FWSTATUS)) {
    sub AAC_FA_FWSTATUS () {	0x2c;}
}
unless(defined(&AAC_FA_INTSRC)) {
    sub AAC_FA_INTSRC () {	0x900;}
}
unless(defined(&AAC_FA_HACK)) {
    sub AAC_FA_HACK {
	my($sc) = @_;
	eval q(( &void) &AAC_GETREG4($sc,  &AAC_FA_INTSRC));
    }
}
unless(defined(&AAC_REGSIZE)) {
    sub AAC_REGSIZE () {	0x100;}
}
unless(defined(&AAC_SA_DOORBELL0_CLEAR)) {
    sub AAC_SA_DOORBELL0_CLEAR () {	0x98;}
}
unless(defined(&AAC_SA_DOORBELL0_SET)) {
    sub AAC_SA_DOORBELL0_SET () {	0x9c;}
}
unless(defined(&AAC_SA_DOORBELL0)) {
    sub AAC_SA_DOORBELL0 () {	0x9c;}
}
unless(defined(&AAC_SA_MASK0_CLEAR)) {
    sub AAC_SA_MASK0_CLEAR () {	0xa0;}
}
unless(defined(&AAC_SA_MASK0_SET)) {
    sub AAC_SA_MASK0_SET () {	0xa4;}
}
unless(defined(&AAC_SA_DOORBELL1_CLEAR)) {
    sub AAC_SA_DOORBELL1_CLEAR () {	0x9a;}
}
unless(defined(&AAC_SA_DOORBELL1_SET)) {
    sub AAC_SA_DOORBELL1_SET () {	0x9e;}
}
unless(defined(&AAC_SA_DOORBELL1)) {
    sub AAC_SA_DOORBELL1 () {	0x9e;}
}
unless(defined(&AAC_SA_MASK1_CLEAR)) {
    sub AAC_SA_MASK1_CLEAR () {	0xa2;}
}
unless(defined(&AAC_SA_MASK1_SET)) {
    sub AAC_SA_MASK1_SET () {	0xa6;}
}
unless(defined(&AAC_SA_MAILBOX)) {
    sub AAC_SA_MAILBOX () {	0xa8;}
}
unless(defined(&AAC_SA_FWSTATUS)) {
    sub AAC_SA_FWSTATUS () {	0xc4;}
}
unless(defined(&AAC_RX_IDBR)) {
    sub AAC_RX_IDBR () {	0x20;}
}
unless(defined(&AAC_RX_IISR)) {
    sub AAC_RX_IISR () {	0x24;}
}
unless(defined(&AAC_RX_IIMR)) {
    sub AAC_RX_IIMR () {	0x28;}
}
unless(defined(&AAC_RX_ODBR)) {
    sub AAC_RX_ODBR () {	0x2c;}
}
unless(defined(&AAC_RX_OISR)) {
    sub AAC_RX_OISR () {	0x30;}
}
unless(defined(&AAC_RX_OIMR)) {
    sub AAC_RX_OIMR () {	0x34;}
}
unless(defined(&AAC_RX_MAILBOX)) {
    sub AAC_RX_MAILBOX () {	0x50;}
}
unless(defined(&AAC_RX_FWSTATUS)) {
    sub AAC_RX_FWSTATUS () {	0x6c;}
}
unless(defined(&AAC_RKT_IDBR)) {
    sub AAC_RKT_IDBR () {	0x20;}
}
unless(defined(&AAC_RKT_IISR)) {
    sub AAC_RKT_IISR () {	0x24;}
}
unless(defined(&AAC_RKT_IIMR)) {
    sub AAC_RKT_IIMR () {	0x28;}
}
unless(defined(&AAC_RKT_ODBR)) {
    sub AAC_RKT_ODBR () {	0x2c;}
}
unless(defined(&AAC_RKT_OISR)) {
    sub AAC_RKT_OISR () {	0x30;}
}
unless(defined(&AAC_RKT_OIMR)) {
    sub AAC_RKT_OIMR () {	0x34;}
}
unless(defined(&AAC_RKT_MAILBOX)) {
    sub AAC_RKT_MAILBOX () {	0x1000;}
}
unless(defined(&AAC_RKT_FWSTATUS)) {
    sub AAC_RKT_FWSTATUS () {	0x101c;}
}
unless(defined(&AAC_DB_SYNC_COMMAND)) {
    sub AAC_DB_SYNC_COMMAND () {	(1<<0);}
}
unless(defined(&AAC_DB_COMMAND_READY)) {
    sub AAC_DB_COMMAND_READY () {	(1<<1);}
}
unless(defined(&AAC_DB_RESPONSE_READY)) {
    sub AAC_DB_RESPONSE_READY () {	(1<<2);}
}
unless(defined(&AAC_DB_COMMAND_NOT_FULL)) {
    sub AAC_DB_COMMAND_NOT_FULL () {	(1<<3);}
}
unless(defined(&AAC_DB_RESPONSE_NOT_FULL)) {
    sub AAC_DB_RESPONSE_NOT_FULL () {	(1<<4);}
}
unless(defined(&AAC_DB_PRINTF)) {
    sub AAC_DB_PRINTF () {	(1<<5);}
}
unless(defined(&AAC_PRINTF_DONE)) {
    sub AAC_PRINTF_DONE () {	(1<<5);}
}
unless(defined(&AAC_DB_INTERRUPTS)) {
    sub AAC_DB_INTERRUPTS () {	( &AAC_DB_COMMAND_READY |  &AAC_DB_RESPONSE_READY |  &AAC_DB_PRINTF);}
}
1;
