xpci3xxx
1.00.00
|
$MainRevision: $
The xpci3xxx Linux driver supports the following boards:
This document describes the IOCTL interface provided by the xPCI3xxx driver for normal applications.
ioctl() is a function which takes three arguments:
Usually, on success zero is returned, on error, -1 is returned, and errno is set appropriately. Commands may also return a positive error value, whose signification is to be found in the command documentation.
A typical use could be:
inf fd = open( ... ); if ( -1 == ioctl(fd, CMD_..., ) ) perror("ioctl"); close(fd);
The chapter "Modules" contains a detailed description of the commands, with parameter and return value.
The driver comes also with a set of samples, which exemplifies the use of the IOCTL commands.
For each C function, such as ioctl(), there is documentation available in the form of "man pages". Try in the console
$ man ioctl
to know if the relevant documentation package is already installed.
The installation procedure differs form one distribution to another. For instance, for Debian/Ubuntu, it is
$ apt-get install manpages-dev