|
nidas v1.2.3
|
#include <stdio.h>#include <string.h>#include <unistd.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/ioctl.h>#include <fcntl.h>#include <errno.h>#include <nidas/linux/serial/pcmcom8.h>Functions | |
| int | printConfig (int fd, const char *devname) |
| int | setConfig (int fd, const char *devname, int port0Addr, const int *irqs) |
| int | getNumBoards (int fd, const char *devname) |
| int | getISABaseAddr (int fd, const char *devname, unsigned long *baseaddr) |
| void | usage (const char *argv0) |
| int getISABaseAddr | ( | int | fd, |
| const char * | devname, | ||
| unsigned long * | baseaddr ) |
References fd, and PCMCOM8_IOCGISABASE.
| int getNumBoards | ( | int | fd, |
| const char * | devname ) |
References fd, and PCMCOM8_IOCGNBOARD.
| int printConfig | ( | int | fd, |
| const char * | devname ) |
References fd, PCMCOM8_IOCGEEPORTCONFIG, PCMCOM8_IOCGPORTCONFIG, and printf().
| int setConfig | ( | int | fd, |
| const char * | devname, | ||
| int | port0Addr, | ||
| const int * | irqs ) |
References fd, irqs, PCMCOM8_IOCEECONFIGLOAD, PCMCOM8_IOCPORTENABLE, PCMCOM8_IOCSEEPORTCONFIG, PCMCOM8_IOCSPORTCONFIG, and printf().
| void usage | ( | const char * | argv0 | ) |