Note: This function is supported in AIX® 5.1 and earlier only.
Returns vital product data (VPD) about the Ethernet adapter.
The CCC_GET_VPD operation returns VPD about the Ethernet adapter. For this operation, the arg parameter points to the vital_product_data structure. This structure is defined in the /usr/include/sys/ciouser.h file and has the following fields:
Field | Description |
---|---|
status |
Indicates the status of the VPD characters returned in the
array of characters. Valid values for this status word are found
in the /usr/include/sys/ciouser.h file:
|
length | Specifies the number of bytes that are valid in the VPD character array. This value can be 0, depending on the status returned. |
vpd[n] | An array of characters that contain the adapter's VPD. The number of valid characters is determined by the length value. |
The CCC_GET_VPD operation functions with an Ethernet High-Performance LAN adapter that has been correctly configured for use on a qualified network. Consult the adapter specifications for more information on configuring the network adapter and network qualifications.
A CCC_GET_VPD operation can be called from the process environment only.
The return codes for the CCC_GET_VPD operation are:
Return Code | Description |
---|---|
EFAULT | Indicates a specified address is not valid. |
ENXIO | Indicates no such device exists. |