require '_h2ph_pre.ph';

no warnings 'redefine';

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