mpconfig Multiprotocol (MPQP) Device Handler Entry Point

Purpose

Note: This function is supported in AIX® 5.1 and earlier only.

Provides functions for initializing and terminating the Multiprotocol Quad Port (MPQP) device handler and adapter.

Syntax

#include <sys/uio.h>
int mpconfig (devno, cmd, uiop)
dev_t devno;
int cmd;
struct uio *uiop;

Parameters

Item Description
devno Specifies major and minor device numbers.
cmd Specifies the function to be performed by this routine. There are two possible functions:
CFG_INIT
Initializes device handler and internal data areas.
CFG_TERM
Terminates the device handler.
uiop Points to a uio structure. The uio structure is defined in the /usr/include/sys/uio.h file.

Description

The mpconfig entry point provides functions for initializing and terminating the MPQP device handler and adapter. It is invoked through the /usr/include/sys/config device driver at device configuration time. This entry point supports the following operations:

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

Execution Environment

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