Note: This function is supported in AIX® 5.1 and earlier only.
Initializes the Serial Optical Link (SOL) device handler and allocates the required system resources.
Item | Description |
---|---|
devno | Specifies the major and minor device numbers. |
devflag | Specifies the flag word with the following definitions:
|
chan | Specifies the channel number assigned by the sol_mpx entry point. |
arg | Points to a kopen_ext structure for kernel-mode processes. The /usr/include/sys/comio.h file contains a description of this structure. For user-mode processes, this field is not used. |
The sol_open entry point is called when a user-mode caller issues an open, openx, or creat subroutine. The sol_open routine can also be invoked in response to an fp_opendev kernel service. This routine opens a device to read and write data.
The sol_open 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 hardware specifications for more information on configuring hardware and network qualifications.
The sol_open entry point can be called from the process environment only.
Item | Description |
---|---|
ENODEV | Indicates the specified minor number is not valid. |
EINVAL | Indicates the specified parameter is not valid. |
ENOMEM | Indicates the device handler was not able to allocate the required memory. |
EBUSY | Indicates the device is already open in Diagnostic mode. |