require '_h2ph_pre.ph';

no warnings 'redefine';

require 'dev/ic/i8237reg.ph';
unless(defined(&DMA1_CHN)) {
    sub DMA1_CHN {
	my($c) = @_;
	eval q((1*(2*($c))));
    }
}
unless(defined(&DMA1_SR)) {
    sub DMA1_SR () {	(1*8);}
}
unless(defined(&DMA1_SMSK)) {
    sub DMA1_SMSK () {	(1*10);}
}
unless(defined(&DMA1_MODE)) {
    sub DMA1_MODE () {	(1*11);}
}
unless(defined(&DMA1_FFC)) {
    sub DMA1_FFC () {	(1*12);}
}
unless(defined(&DMA1_IOSIZE)) {
    sub DMA1_IOSIZE () {	(1*12);}
}
unless(defined(&DMA2_CHN)) {
    sub DMA2_CHN {
	my($c) = @_;
	eval q((2*(2*($c))));
    }
}
unless(defined(&DMA2_SR)) {
    sub DMA2_SR () {	(2*8);}
}
unless(defined(&DMA2_SMSK)) {
    sub DMA2_SMSK () {	(2*10);}
}
unless(defined(&DMA2_MODE)) {
    sub DMA2_MODE () {	(2*11);}
}
unless(defined(&DMA2_FFC)) {
    sub DMA2_FFC () {	(2*12);}
}
unless(defined(&DMA2_IOSIZE)) {
    sub DMA2_IOSIZE () {	(2*12);}
}
1;
