ddi_prop_name, ddi_prop_dev, ddi_prop_type, ddi_prop_len, ddi_prop_val - return property information
char *ddi_prop_name(ddi_prop_t *prop); dev_t ddi_prop_dev(ddi_prop_t *prop); int ddi_prop_type(ddi_prop_t *prop); int ddi_prop_len(ddi_prop_t *prop); caddr_t ddi_prop_val(ddi_prop_t *prop);
the property
The ddi_prop_name() function returns a pointer to the name of a property.
The ddi_prop_dev() function returns a property dev_t, may be DDI_DEV_T_NONE.
The ddi_prop_type() function returns a property type. Value returned can be one of the following property types:
DDI_PROP_TYPE_INT DDI_PROP_TYPE_STRING DDI_PROP_TYPE_BYTE DDI_PROP_TYPE_INT64
The ddi_prop_len() function returns the length of a property.
The ddi_prop_val() function returns a pointer to a value of a property.
These functions can be called from user or kernel context.