
stc(7D) Devices SunOS 5.5
EINTR The open was interrupted by the delivery of a signal.
EPERM The control port for the board was opened by a process whose uid was
not root.
An ioctl() will fail with errno set to:
ENOSR A STREAMS data block couldn’t be allocated to return data to the caller.
EINVAL An invalid value was passed as the data argument to the ioctl() call or
an invalid argument or op-field was passed in one of the driver-specific
ioctl()’s.
EPERM An STC_GSTATS ioctl() was requested by a process whose uid was not
root.
ENOTTY An unrecognized ioctl() command was received.
FILES /dev/term/[00-3f]
/dev/ttyy[00-3f] hardwired and dial-in tty lines
/dev/cua/[00-3f]
/dev/ttyz[00-3f] dial-out tty lines
/dev/printers/[0-7]
/dev/stclp[0-7] parallel port lines
/dev/stc[0-7] control port
/usr/include/sys/stcio.h header file with ioctl()’s supported by this driver
SEE ALSO tip(1), uucp(1C), pmadm(1M), termios(3), mcpp(7D), termio(7I), termiox(7I),
ldterm(7M), ttcompat(7M), allocb(9F), bufcall(9F)
DIAGNOSTICS All diagnostic messages from the driver appear on the system console. There are three
severity levels of messages displayed:
FATAL - the device driver does not get loaded and any SPC/S boards installed in the
system are inaccessible (usually occurs during the process of modload’ing the
driver).
ERROR - some condition has caused the normal operation of the board and/or device
driver to be disrupted; data loss may or may not occur; this class of message
might indicate an impending hardware failure.
ADVISORY -
the device driver has detected a condition that may be of interest to the user of
the system; usually this is a transient condition that clears itself.
Messages During
Initialization Of
Driver/Board:
stc_attach: can’t allocate memory for unit structs
FATAL. kmem_zalloc() failed to allocate memory for the driver’s internal
data structures.
stc_attach: board revision undeterminable
FATAL. The driver did not get a hardware revision level from the board’s
onboard FCode PROM.
7D-320 modified 2 Aug 1993
Comentários a estes Manuais