[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

sol_close Serial Optical Link Device Handler Entry Point

Purpose

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

Resets the Serial Optical Link (SOL) device handler to a known state and frees system resources.

Syntax

#include  <sys/device.h>
#include  <sys/comio.h>
#include  <sys/soluser.h>


int sol_close ( devno,  chan)
dev_t devno;
int chan;

Parameters

devno Specifies major and minor device numbers.
chan Specifies the channel number assigned by the sol_mpx entry point.

Description

The sol_close entry point is called when a user-mode caller issues a close subroutine. The sol_close entry point can also be invoked in response to an fp_close kernel service.

The sol_close entry point functions with a Serial Link Adapter and Serial Optical Channel Converter, that have been correctly configured for use on a qualified network. Consult the hardware specifications for more information on configuring hardware and network qualifications.

Execution Environment

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

Return Values

ENODEV Indicates that the specified minor number is not valid.

Related Information

The close subroutine.

The fp_close kernel service.

The sol_mpx entry point.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]