Allocates and deallocates a channel for the Multiprotocol Quad Port (MPQP) device handler.
int mpmpx (devno, chanp, channame) dev_t devno; int *chanp; char *channame; int openflag;
|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:
The mpmpx entry point allocates and deallocates a channel. The mpmpx entry point is supported similar to the common ddmpx entry point.
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.|
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.