require '_h2ph_pre.ph';

require 'sys/conf.ph';
unless(defined(&mmread)) {
    sub mmread () {	 &mmrw;}
}
unless(defined(&mmwrite)) {
    sub mmwrite () {	 &mmrw;}
}
unless(defined(&cdev_apm_init)) {
    sub cdev_apm_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((*)))  &enodev, 0, ( &dev_type_select((*)))  &enodev, ( &dev_type_mmap((*)))  &enodev,  &D_KQFILTER,  &dev_init($c,$n, &kqfilter) });
    }
}
1;
