pci_plist_get(9F) Kernel Functions for Drivers pci_plist_get(9F)NAMEpci_plist_get - get the name-value pair list for the PF device
SYNOPSIS
#include <sys/sunddi.h>
int pci_plist_get(pci_param_t param, pci_plist_t *plist_p);
PARAMETERS
param A handle obtained from pci_param_get(9F) or
pci_param_get_ioctl(9F).
plist_p A pointer to pci_plist_t where a non—null plist_p is
returned on successful return
DESCRIPTION
The plist_p returned by pci_plist_get() is similar to nvlist_t and con‐
tains the name-value pairs for the PF (Physical Function) device. The
pci_plist_t supports the following data types:
int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t,
uint64_t, char *, pci_plist_t
Arrays of the above data types are supported except pci_plist_t.
RETURN VALUES
DDI_SUCCESS On success.
Non-zero value There is no name-value list for PF device.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Uncommitted │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOattributes(5), pci_param_free(9F), pci_param_get(9F),
pci_plist_getvf(9F)SunOS 5.10 19 May 2011 pci_plist_get(9F)