PCI-P8R8

Visitor 254 Last updated Monday, 10-Mar-2003 12:17:24 CST

Supported Models
PCI-1002
PCI-1202
PCI-1602
PCI-1800/1802
PCI-P16R16/P16C16/P16POR16
PCI-P8R8
PCI-TMC12
Valid XHTML 1.0! Valid CSS!

Source Code Tour for IxPCI
Device ID
Device File
ioctl Commands
Data Structures
Registers
Examples

Device ID

PCI_P8R8

Device File

/dev/ixpcin

The n is the IXPCI device number.

ioctl Commands

IXPCI_GET_INFO
Retrieve a device's information, and put it into the ixpci_devinfo (ixpci_devinfo_t) structure. Example: list.c.
IXPCI_IOCTL_DI
Digital input. Example: pcip8r8/dio.c
IXPCI_IOCTL_DO
Digital output. Example: pcip8r8/dio.c

Data Structures

ixpci_devinfo_t
The data type of structure ixpci_devinfo which contains a device's id, base address, and so on. Example: list.c

Registers

R=Readable  W=Writable

There is no special register available for PCI-P8R8.

Examples

list.c
An example for ioctl command IXPCI_GET_INFO.
pcip8r8/dio.c
An example for digital I/O and ioctl commands IXPCI_IOCTL_DI and IXPCI_IOCTL_DO.

Emmy Tsai <emmy@omega.com> | Service from Omega <service@omega.com>