summaryrefslogtreecommitdiffstats
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r--sys/isa/isavar.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index 393f8a5..3082b6c 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -171,6 +171,19 @@ extern void isa_dma_release __P((int chan));
extern int isa_dmastatus __P((int chan));
extern int isa_dmastop __P((int chan));
+#ifdef PC98
+#include <machine/bus.h>
+
+/*
+ * Allocate discontinuous resources for ISA bus.
+ */
+struct resource *
+isa_alloc_resourcev(device_t child, int type, int *rid,
+ bus_addr_t *res, bus_size_t count, u_int flags);
+int
+isa_load_resourcev(struct resource *re, bus_addr_t *res, bus_size_t count);
+#endif
+
#endif /* _KERNEL */
#endif /* !_ISA_ISAVAR_H_ */
OpenPOWER on IntegriCloud