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 snarf_region().
  17  */
  18 extern void reserve_setup(char *str, int *ints);
  19 extern int check_region(unsigned int from, unsigned int extent);
  20 extern void snarf_region(unsigned int from, unsigned int extent);
  21 
  22 
  23 #define HAVE_AUTOIRQ
  24 extern void *irq2dev_map[16];           /* Use only if you own the IRQ. */
  25 extern void autoirq_setup(int waittime);
  26 extern int autoirq_report(int waittime);
  27 
  28 #endif  /* _LINUX_PORTIO_H */

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