[ Previous |
Next |
Contents |
Home |
Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2
mpmpx Multiprotocol (MPQP) Device Handler Entry Point
Purpose
Allocates and deallocates a channel for the Multiprotocol Quad Port (MPQP) device handler.
Syntax
int mpmpx (devno, chanp, channame)
dev_t devno;
int *chanp;
char *channame;
int openflag;
Parameters
devno |
Specifies the major and minor device numbers. |
chanp |
Identifies the channel ID passed as a reference parameter. Unless specified as null, the channame parameter is set to the allocated channel ID. If this parameter is null it is set as the ID of the channel to be deallocated. |
channame |
Points to the remaining path name describing the channel to be allocated. There are four possible values:
Equal to NULL |
Deallocates the channel. |
A pointer to a NULL string |
Allows a normal open sequence of the device on the channel ID generated by the mpmpx entry point. |
D |
Allows the device to be opened in Diagnostic mode on the channel ID generated by the mpmpx entry point. |
Pointer to a "W" |
Allows the MPQP device to be opened in Diagnostic mode with the adapter in Wrap mode. The device is opened on the channel ID generated by the mpmpx entry point. |
|
Description
The mpmpx entry point allocates and deallocates a channel. The mpmpx entry point is supported similar to the common ddmpx entry point.
Return Values
The common return codes for the mpmpx entry point are the following:
EINVAL |
Indicates an invalid parameter. |
ENXIO |
Indicates the device was open and the Diagnostic mode open request was denied. |
EBUSY |
Indicates the device was open in Diagnostic mode and the open request was denied. |
Related Information
The ddmpx entry point, mpclose entry point, mpconfig entry point, mpioctl entry point, mpopen entry point, mpread entry point, mpselect entry point, mpwrite entry point.
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 ]