require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&SIOP_NTAG)) {
    sub SIOP_NTAG () {	16;}
}
unless(defined(&SIOP_DMA_MAP)) {
    sub SIOP_DMA_MAP {
	my($_sdm) = @_;
	eval q((($_sdm)-> &sdm_map));
    }
}
unless(defined(&SIOP_DMA_DVA)) {
    sub SIOP_DMA_DVA {
	my($_sdm) = @_;
	eval q((($_sdm)-> ($sdm_map->{dm_segs[0]}->{ds_addr})));
    }
}
unless(defined(&SIOP_DMA_KVA)) {
    sub SIOP_DMA_KVA {
	my($_sdm) = @_;
	eval q((( &void *)($_sdm)-> &sdm_kva));
    }
}
unless(defined(&cmd_tables)) {
    sub cmd_tables () {	 ($cmd_c->{siop_tables});}
}
unless(defined(&SIOP_LUNF_FULL)) {
    sub SIOP_LUNF_FULL () {	0x1;}
}
unless(defined(&SCF_CHAN_NOSLOT)) {
    sub SCF_CHAN_NOSLOT () {	0x1;}
}
1;
