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  * 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 snarf_region(unsigned int from, unsigned int extent);
  22 extern void register_iomem(unsigned int from, unsigned int extent,char* name);
  23 extern void release_region(unsigned int from, unsigned int extent);
  24 extern int get_ioport_list(char *);
  25 
  26 
  27 #define HAVE_AUTOIRQ
  28 extern void *irq2dev_map[16];           /* Use only if you own the IRQ. */
  29 extern void autoirq_setup(int waittime);
  30 extern int autoirq_report(int waittime);
  31 
  32 #endif  /* _LINUX_PORTIO_H */

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