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:

QNX 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 a 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 isn't supported in edited mode.
-f
Enable hardware flow control (default). Hardware flow control isn't 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).
-o opt[,opt...]
Additional options, separated by commas. The options include:
  • nodaemon — don't call procmgr_daemon() to make the driver run in the background. Use this option if you need to know when the device terminates.
  • priority=prio — set the working priority of the internal pulse.
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[v]...
Be verbose; additional v characters cause more verbosity.
vid=vid
The PCI vendor ID, in hexadecimal (0xXXXX).

Description:

The devc-serpci manager is a small serial device manager for the QNX Neutrino RTOS. 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.