require '_h2ph_pre.ph';

unless(defined(&mmread)) {
    sub mmread () {	 &mmrw;}
}
unless(defined(&mmwrite)) {
    sub mmwrite () {	 &mmrw;}
}
unless(defined(&cdev_openprom_init)) {
    sub cdev_openprom_init {
	local($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, ( &dev_type_select((*)))  &enodev, ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_gen_init)) {
    sub cdev_gen_init {
	local($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, &select), ( &dev_type_mmap((*)))  &enodev });
    }
}
unless(defined(&cdev_bpp_init)) {
    sub cdev_bpp_init {
	local($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 {
	local($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 {
	local($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 {
	local($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 });
    }
}
1;
