cpac(7) DG/UX R4.11MU05 cpac(7)
NAME
cpac - Computone PCI bus asynchronous controller
SYNOPSIS
cpac(parent-bus[,pci-device-num[,pci-function-num[,port]]])
DESCRIPTION
The cpac device name specifies a Computone asynchronous terminal I/O
controller that connects to a number of terminal lines. The
Computone asynchronous controllers are actually processors that
perform I/O processing according to the tty modes in effect for each
line. It is necessary for the controller-resident code image to be
downloaded, using tcload(1M), into the controller's memory before its
lines can be used. This is normally handled by system setup
procedures, but if the board has been reset the system administrator
may need to directly invoke this command.
To configure cpac devices, you must add one or more device name
entries to the DG/UX system configuration file, using the form
described in the synopsis above. The parameters in a cpac device
name have the following meanings:
· The parent-bus parameter is itself a device name, representing
the PCI bus device to which the controller is attached (e.g.
pci(0)). There is no default value for this parameter; it must
always be explicitly specified.
· The pci-device-num parameter is a hexadecimal number in the range
0 through 1F; it represents the PCI device number ("slot number")
used by the cpac controller. The default value for pci-device-
num is 0.
· The pci-function-num parameter is a hexadecimal number in the
range 0 through 7 which represents the PCI function number used
by the controller within pci-device-num. The default value for
pci-device-num is 0.
· The port parameter is a hexadecimal number which identifies a
particular asynchronous serial port on a cpac device. The first
port on the device uses port number 1, the second uses 2, and so
on. The default value for port is the special value 0, which
identifies the cpac controller itself, distinct from any of the
lines on it.
These ports present the standard terminal interface described in
termio(7), except for the following unsupported features:
· The stty options for hardware flow control via carrier detect
(cdxon) and isochronous hardware flow control (isxoff)
· The CDXON or ISXOFF flags of the x_hflag field of the termiox
structure
EXAMPLES
The following entry configures a cpac controller in the PCI slot that
uses PCI device number 0xB on the primary PC PCI host bridge:
cpac(pci(0),B,0)
The following entry configures a cpac controller in slot 3 of the
secondary PCI host bridge:
cpac(pci(1),3)
For more information about DG/UX device configuration, refer to
"Writing a Device Driver" in Programming in the DG/UX Kernel
Environment.
FILES
When a standard cpac controller is configured, it creates a
character-special device node for each port, using the associated
pathname:
/dev/async/line/cpac(parent-bus,pci-device-num,pci-function-num,port)
An additional node is created to refer to the entire cpac controller
itself, using the associated pathname:
/dev/async/ctrl/cpac(parent-bus,pci-device-num,pci_function-num)
The chk.devlink command is responsible for creating and maintaining
links to each port device node, with a pathname of the form
/dev/tty[0-9]* (see chk.devlink(1M) and devlinktab(4M)).
SEE ALSO
tcload(1M), chk.devlink(1M), devlinktab(4M), system(4), pci_bus(7),
termio(7), termiox(7).
Licensed material--property of copyright holder(s)