devc-serpci

Driver for serial PCIs


Note: You must be root to start this driver.

Syntax:

devc-serpci [vid=vid,did=did[,pci=pci]] [options] &

Runs on:

Neutrino

Targets:

x86

Options:

-b number
The initial baud rate (default 57600).
-C size
The size of the canonical buffer in bytes (default 256).
-c clock[/divisor]
Define a custom clock rate, in hertz, and divisor for the serial port. The default (-c 1843200/16) is suitable for compatible PC serial ports.
did=did
The PCI device ID, in hexadecimal (0xXXXX).
-E
Set options to “raw” (default).
-e
Start in edited mode (default raw). Software flow control is enabled by default.
-F
Disable hardware flow control (default to hardware flow control enabled). Hardware flow control is not supported in edited mode.
-f
Enable hardware flow control (default). Hardware flow control is not supported in edited mode.
-I number
The size of the raw input buffer in bytes (default 2048).
-O number
(“Oh”) The size of the interrupt output buffer in bytes (default 2048).
pci=pci
The PCI index, in decimal (XX).
-S|s
Disable / enable software flow control. The default depends on the mode: in raw mode (-E, the default), it's disabled; in edited mode (-e), it's enabled.

The order in which you specify the -E or -e, and -S or -s options matters:

Options Mode Software flow control
-e Edited Enabled
-S -e Edited Enabled
-e -S Edited Disabled
-E Raw Disabled
-s -E Raw Disabled
-E -s Raw Enabled
-t number
Enable the receive FIFO and set its threshold to 1, 4, 8, or 14 characters. The default is 0 (trigger disabled).
-u number
Append number to the device name prefix (/dev/ser). The default is 1; additional devices are given increasing numbers.
-v
Increase verbosity.
vid=vid
The PCI vendor ID, in hexadecimal (0xXXXX).

Description:

The devc-serpci manager is a small serial device manager for QNX Neutrino. This driver supports 16Cxxx compatible Serial PCI cards.


Note: The boards must use PCI I/O space for the registers, and the ports must be contiguous in memory.

See also:

devc-serusb