summaryrefslogtreecommitdiffstats
path: root/include/linux/ioport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ioport.h')
-rw-r--r--include/linux/ioport.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index 335e3b65f..838eb5300 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -17,11 +17,16 @@
* If you unload the driver, use release_region to free ports.
*/
extern void reserve_setup(char *str, int *ints);
-extern int check_region(unsigned int from, unsigned int extent);
-extern void request_region(unsigned int from, unsigned int extent,const char *name);
-extern void release_region(unsigned int from, unsigned int extent);
+extern int check_region(unsigned long from, unsigned long extent);
+extern void request_region(unsigned long from, unsigned long extent,const char *name);
+extern void release_region(unsigned long from, unsigned long extent);
extern int get_ioport_list(char *);
+#ifdef __sparc__
+extern unsigned long occupy_region(unsigned long base, unsigned long end,
+ unsigned long num, unsigned int align,
+ const char *name);
+#endif
#define HAVE_AUTOIRQ
extern void *irq2dev_map[16]; /* Use only if you own the IRQ. */