tsselect Multiprotocol (PCI MPQP) Device Handler Entry Point

Purpose

Provides the means for determining whether specified events have occurred on the IBM® ARTIC960Hx PCI (PCI MPQP) device.

Syntax

#include <sys/devices.h>
#include <sys/comio.h>

int tsselect (devno, events, reventp, chan)
dev_t devno;
ushort events;
ushort *reventp;
int chan;

Description

Note: Only user-mode processes can use the tsselect entry point.

The tsselect entry point provides the means for determining if specified events have occurred on the PCI MPQP device. This entry point is supported similar to the ddselect communications entry point.

The tsselect entry point functions with a 4-Port Multiprotocol Interface adapter that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.

Parameters

Item Description
devno Specifies major and minor device numbers.
events Identifies the events to check.
reventp Returns events pointer. This parameter is passed by reference and is used by the tsselect entry point to indicate which of the selected events are true at the time of the call.
chan Specifies the channel number assigned by the tsmpx entry point.

Execution Environment

The tsselect entry point can be called from the process environment only.

Return Values

The common return codes for the tsselect entry point are the following:

Item Description
ENXIO Indicates an attempt to use an unconfigured device.
EINVAL Indicates the select operation was called from a kernel process.
ECHNG Indicates the channel number is too large.