require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&mmread)) {
    sub mmread () {	 &mmrw;}
}
unless(defined(&mmwrite)) {
    sub mmwrite () {	 &mmrw;}
}
unless(defined(&cdev_openprom_init)) {
    sub cdev_openprom_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev, ( &dev_type_write((*)))  &enodev,  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &selfalse, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_gen_init)) {
    sub cdev_gen_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close),  &dev_init($c,$n, &read),  &dev_init($c,$n, &write),  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &dev_init($c,$n, &poll), ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_bpp_init)) {
    sub cdev_bpp_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev,  &dev_init($c,$n, &write),  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &seltrue, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_scf_init)) {
    sub cdev_scf_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev, ( &dev_type_write((*)))  &enodev,  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &seltrue, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_flash_init)) {
    sub cdev_flash_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close),  &dev_init($c,$n, &read),  &dev_init($c,$n, &write),  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &seltrue, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_fga_init)) {
    sub cdev_fga_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev, ( &dev_type_write((*)))  &enodev,  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &seltrue, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_daadio_init)) {
    sub cdev_daadio_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev, ( &dev_type_write((*)))  &enodev,  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &nullop, 0,  &seltrue, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_apm_init)) {
    sub cdev_apm_init {
	my($c,$n) = @_;
	eval q({  &dev_init($c,$n, &open),  &dev_init($c,$n, &close), ( &dev_type_read((*)))  &enodev, ( &dev_type_write((*)))  &enodev,  &dev_init($c,$n, &ioctl), ( &dev_type_stop((*)))  &enodev, 0,  &selfalse, ( &dev_type_mmap((*)))  &enodev, 0, 0,  &dev_init($c,$n, &kqfilter) });
    }
}
1;
