ioport.h

Go to the documentation of this file.
00001 /**
00002 *
00003 
00004  * portio.h     Definitions of routines for detecting, reserving and
00005  *              allocating system resources.
00006  *
00007  * Version:     0.01    8/30/93
00008  *
00009  * Author:      Donald Becker (becker@super.org)
00010 
00011 
00012 */
00013 
00014 #ifndef _LINUX_PORTIO_H
00015 #define _LINUX_PORTIO_H
00016 
00017 #define HAVE_PORTRESERVE
00018 /**
00019 *
00020 
00021  * Call check_region() before probing for your hardware.
00022  * Once you have found you hardware, register it with snarf_region().
00023 
00024 
00025 */
00026 extern void reserve_setup(char *str, int *ints);
00027 extern int check_region(unsigned int from, unsigned int extent);
00028 extern void snarf_region(unsigned int from, unsigned int extent);
00029 
00030 
00031 #define HAVE_AUTOIRQ
00032 extern void *irq2dev_map[16];           ///< Use only if you own the IRQ. 
00033 extern void autoirq_setup(int waittime);
00034 extern int autoirq_report(int waittime);
00035 
00036 #endif  // _LINUX_PORTIO_H 

Generated on Mon May 1 21:47:00 2006 for KernelAPI by  doxygen 1.4.6-5