#include <stdio.h>#include "pcioDrv.h"#include "iodev.h"Include dependency graph for pcioDrv.c:

Go to the source code of this file.
Functions | |
| void | pcioInit () |
| unsigned char | inputb (unsigned short port) |
| void | outputb (unsigned short port, unsigned char data) |
| unsigned short | inputw (unsigned short port) |
| void | outputw (unsigned short port, unsigned short data) |
| unsigned long | inputl (unsigned short port) |
| void | outputl (unsigned short port, unsigned long data) |
Variables | |
| int | pcioDrvId = 0 |
|
|
Definition at line 41 of file pcioDrv.c. Referenced by inputb(), inputl(), inputw(), outputb(), outputl(), and outputw().
00042 {
00043 if ((pcioDrvId = open("/dev/pcio", 0)) < 0)
00044 {
00045 fprintf(stderr, "pcioInit: can't open /dev/pcio");
00046 }
00047 }
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001