root/include/linux/ioport.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * portio.h     Definitions of routines for detecting, reserving and
   3  *              allocating system resources.
   4  *
   5  * Version:     0.01    8/30/93
   6  *
   7  * Author:      Donald Becker (becker@super.org)
   8  */
   9 
  10 #ifndef _LINUX_PORTIO_H
  11 #define _LINUX_PORTIO_H
  12 
  13 #define HAVE_PORTRESERVE
  14 /*
  15  * Call check_region() before probing for your hardware.
  16  * Once you have found you hardware, register it with request_region().
  17  * If you unload the driver, use release_region to free ports.
  18  */
  19 extern void reserve_setup(char *str, int *ints);
  20 extern int check_region(unsigned int from, unsigned int extent);
  21 extern void request_region(unsigned int from, unsigned int extent,const char *name);
  22 extern void release_region(unsigned int from, unsigned int extent);
  23 extern int get_ioport_list(char *);
  24 
  25 
  26 #define HAVE_AUTOIRQ
  27 extern void *irq2dev_map[16];           /* Use only if you own the IRQ. */
  28 extern int autoirq_setup(int waittime);
  29 extern int autoirq_report(int waittime);
  30 
  31 #endif  /* _LINUX_PORTIO_H */

/* [previous][next][first][last][top][bottom][index][help] */