Note: This function is supported in AIX® 5.1 and earlier only.
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;
Item | Description |
---|---|
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:
Return Code | Description |
---|---|
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. |