Main index | Section 9 | Options |
#include <sys/param.h>
#include <sys/bus.h>
The underlying property type is specified with the type argument. Currently the following types are supported:
DEVICE_PROP_BUFFER | |
The underlying property is a string of bytes. | |
DEVICE_PROP_ANY | Wildcard property type. |
DEVICE_PROP_HANDLE | |
Following a reference the underlying property is a handle of the respective bus. | |
DEVICE_PROP_UINT32 | |
The underlying property is an array of unsigned 32 bit integers. The sz argument shall be a multiple of 4. | |
DEVICE_PROP_UINT64 | |
The underlying property is an array of unsigned 64 bit integers. The sz argument shall be a multiple of 8. | |
Currently this interface is implemented by simplebus(4) and acpi(4).
device_has_property() returns true if given property was found.
DEVICE_GET_PROPERTY (9) | September 29, 2022 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.