OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [linux/] [ioport.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
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[];             /* 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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.