Note: This function is supported in AIX® 5.1 and earlier only.
Returns the vital product data (VPD) for the token-ring adapter.
The TOK_QVPD tokioctl operation returns VPD about the token-ring device. For this operation, the arg parameter points to the tok_vpd_t block to query the VPD. This structure is defined in the /usr/include/sys/tokuser.h file and contains the following fields:
Field | Description |
---|---|
status | Returns one of the following status values:
|
l_vpd | Specifies the length of the vpd parameter. |
vpd[TOK_VPD_LENGTH] | Contains the VPD upon return. |
The TOK_QVPD operation functions with a Token-Ring High Performance Network Adapter that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.
The TOK_QVPD tokioctl operation can be called from the process environment only.
Item | Description |
---|---|
EFAULT | Indicates the specified address is not valid. |
EINVAL | Indicates a parameter is not valid. |
ENXIO | Indicates the specified minor number is not valid. |