csx_AccessConfigurationRegister(9F)
csx_Parse_CISTPL_BYTEORDER(9F)
csx_Parse_CISTPL_CFTABLE_ENTRY(9F)
csx_Parse_CISTPL_DEVICEGEO(9F)
csx_Parse_CISTPL_DEVICEGEO_A(9F)
csx_Parse_CISTPL_DEVICE_OA(9F)
csx_Parse_CISTPL_DEVICE_OC(9F)
csx_Parse_CISTPL_LINKTARGET(9F)
csx_Parse_CISTPL_LONGLINK_A(9F)
csx_Parse_CISTPL_LONGLINK_C(9F)
csx_Parse_CISTPL_LONGLINK_MFC(9F)
ddi_get_soft_iblock_cookie(9F)
ddi_intr_get_supported_types(9F)
ddi_prop_lookup_byte_array(9F)
ddi_prop_lookup_int64_array(9F)
ddi_prop_lookup_string_array(9F)
ddi_prop_update_byte_array(9F)
ddi_prop_update_int64_array(9F)
ddi_prop_update_string_array(9F)
ldi_prop_lookup_byte_array(9F)
ldi_prop_lookup_int64_array(9F)
ldi_prop_lookup_string_array(9F)
mac_prop_info_set_default_link_flowctrl(9F)
mac_prop_info_set_default_str(9F)
mac_prop_info_set_default_uint8(9F)
net_event_notify_unregister(9F)
net_instance_notify_register(9F)
net_instance_notify_unregister(9F)
net_instance_protocol_unregister(9F)
net_protocol_notify_register(9F)
nvlist_lookup_boolean_array(9F)
nvlist_lookup_boolean_value(9F)
nvlist_lookup_nvlist_array(9F)
nvlist_lookup_string_array(9F)
nvlist_lookup_uint16_array(9F)
nvlist_lookup_uint32_array(9F)
nvlist_lookup_uint64_array(9F)
nvpair_value_boolean_array(9F)
scsi_get_device_type_scsi_options(9F)
usb_get_current_frame_number(9F)
usb_get_max_pkts_per_isoc_request(9F)
usb_pipe_get_max_bulk_transfer_size(9F)
usb_pipe_stop_intr_polling(9F)
usb_pipe_stop_isoc_polling(9F)
- set property information
#include <sys/mac_provider.h> void mac_prop_info_set_perm(mac_prop_info_handle_t ph, uint8_t perm);
void mac_prop_info_set_default_uint8(mac_prop_info_handle_t ph, uint8_t val);
void mac_prop_info_set_default_str(mac_prop_info_handle_t ph, const char *str);
void mac_prop_info_set_default_link_flowctrl( mac_prop_info_handle_t ph, link_flowctrl_t val);
void mac_prop_info_set_range_uint32(mac_prop_info_handle_t ph, uint32_t min, uint32_t max);
The entry points described here are invoked from a device driver's mc_getcapab(9E) entry point to associate information such as default values, permissions, or allowed value ranges.
Each one of these functions takes as first argument the property information handle which is passed to mc_propinfo() as argument.
The mac_prop_info_set_perm() function specifies the property of the property. The permission is passed through the perm argument and can be set to one of the following values.
The property is read-only.
The property is write-only.
The property can be read and written.
The driver is not required to call mac_prop_info_set_perm() for every property. If the driver does not call that function for a specific property, the framework will assume that the property has read and write permissions, corresponding to MAC_PROP_PERM_RW.
The mac_prop_info_set_default_uint8(), mac_prop_info_set_default_str(), and mac_prop_info_set_default_link_flowctrl() functions are used to associate a default value with a specific property.
The mac_prop_info_set_range_uint32() function is used by a driver to associate an allowed range of values for a specific property. The range is defined by the min and max arguments passed by the device driver.
See attributes(5) for descriptions of the following attributes:
|