summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/isa_compat.c20
-rw-r--r--sys/i386/isa/isa_device.h3
2 files changed, 0 insertions, 23 deletions
diff --git a/sys/i386/isa/isa_compat.c b/sys/i386/isa/isa_compat.c
index 6eda6eb..5f328f0 100644
--- a/sys/i386/isa/isa_compat.c
+++ b/sys/i386/isa/isa_compat.c
@@ -296,23 +296,3 @@ isa_wrap_old_drivers(void)
devclass_add_driver(isa_devclass, driver);
}
}
-
-int
-haveseen_iobase(struct isa_device *dvp, int size)
-{
- int rid;
- struct resource *res;
- device_t dev = dvp->id_device;
- int base = dvp->id_iobase;
-
- /*
- * Ask for resource 1 so that we don't hurt our hints. In theory
- * this should work, but....
- */
- rid = 1;
- res = bus_alloc_resource(dev, SYS_RES_IOPORT,
- &rid, base, base + size, size, RF_ACTIVE);
- if (res)
- bus_release_resource(dev, SYS_RES_IOPORT, rid, res);
- return res ? 0 : 1;
-}
diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h
index e6e7353..c89dca0 100644
--- a/sys/i386/isa/isa_device.h
+++ b/sys/i386/isa/isa_device.h
@@ -91,10 +91,7 @@ struct isa_driver {
};
#ifdef _KERNEL
-
-int haveseen_iobase __P((struct isa_device *dvp, int iosize));
int isa_compat_nextid __P((void));
-
#endif
#endif /* COMPAT_OLDISA */
OpenPOWER on IntegriCloud