diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-10-22 16:48:08 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2000-10-22 16:48:08 +0000 |
commit | 97ae0fe84cdc7ff3c931ea3e21679fe117848bbb (patch) | |
tree | e188fd0674910cf8dbb8ce7b6b96e832640d8777 /sys/isa/isavar.h | |
parent | 6716c905c903b832cdd31a727619ae005e5e427a (diff) | |
download | src-97ae0fe84cdc7ff3c931ea3e21679fe117848bbb.tar.gz src-97ae0fe84cdc7ff3c931ea3e21679fe117848bbb.zip |
Moved prototypes of isa_alloc_resourcev() and isa_load_resourcev() to
isa/isavar.h, and added needed includes.
Notes
Notes:
svn path=/head/; revision=67442
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r-- | sys/isa/isavar.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h index 393f8a57fe40..3082b6c4261d 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_ */ |