CIO_GET_FASTWRT (Get Fast Write) sol_ioctl Serial Optical Link Device Handler Operation

Purpose

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

Provides the attributes of the sol_fastwrt entry point.

Description

The CIO_GET_FASTWRT operation provides the attributes of the Serial Optical Link (SOL) device driver's sol_fastwrt entry point.

For the CIO_GET_FASTWRT operation, the arg parameter points to the cio_get_fastwrt structure. This structure is defined in the /usr/include/sys/comio.h file and contains the following fields:

Field Description
status Returns one of the following possible status values:
  • CIO_OK
  • CIO_INV_CMD
fastwrt_fn Specifies the function address that can be called to issue a fast path write.
chan Specifies the channel number assigned by the device driver's mpx routine.
devno Specifies major and minor device numbers for the device driver, also known as the dev_t.

The CIO_GET_FASTWRT operation works 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.

Return Values

Item Description
EACCES Illegal call from kernel user.
EFAULT Indicates that an address was not valid.
EINVAL Indicates that a parameter was not valid.
ENODEV Indicates that a minor number was not valid.