[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

mpselect Multiprotocol (MPQP) Device Handler Entry Point

Purpose

Provides the means for determining whether specified events have occurred on the Multiprotocol Quad Port (MPQP) device.

Syntax

#include <sys/devices.h>
#include <sys/comio.h>
int mpselect (devno, events, reventp, chan)
dev_t devno;
ushort events;
ushort *reventp;
int chan;

Parameters

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 mpselect 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 mpmpx entry point.

Description

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

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

Execution Environment

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

Return Values

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

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.

Implementation Specifics

The mpselect 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.

Related Information

The mpclose entry point, mpconfig entry point, mpioctl entry point, mpmpx entry point, mpopen entry point, mpread entry point, mpwrite entry point.

The ddselect communications PDH entry point.

The poll subroutine, select subroutine.

MPQP Device Handler Interface Overview in AIX Kernel Extensions and Device Support Programming Concepts.

Communications I/O Subsystem: Programming Introduction in AIX Kernel Extensions and Device Support Programming Concepts.

Communications Physical Device Handler Model Overview in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]