off_t offset, off_t len, ddi_device_acc_attr_t *accattrp,
ddi_mapdev_set_device_acc_attr() assigns device access attributes to a range of device memory in the register set given by rnumber.
*accattrp defines the device access attributes. See ddi_device_acc_attr.9s for more details.
mapping_handle is a mapping handle returned from a call to ddi_mapdev.9f
The range to be affected is defined by the offset and len arguments. Requests affect the entire page containing the offset and all pages up to and including the page containing the last byte as indicated by offset+len. Supplying a value of 0 for the len argument affects all addresses from the offset to the end of the mapping. Supplying a value of 0 for the offset argument and a value of 0 for the len argument affect all addresses in the mapping.
This routine can be called from user or kernel context only.
ddi_mapdev_set_device_acc_attr() returns the following values:
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97