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

mpconfig Multiprotocol (MPQP) Device Handler Entry Point

Purpose

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

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:

Execution Environment

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

Implementation Specifics

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.

Related Information

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

The ddconfig routine.

MPQP Device Handler Interface Overview.

Communications I/O Subsystem: Programming Introduction.


[ Previous | Next | Contents | Home | Search ]