device_set_flags(9) manipulate driver flags

Other Alias

device_get_flags

SYNOPSIS

In sys/param.h In sys/bus.h Ft void Fn device_set_flags device_t dev uint32_t flags Ft uint32_t Fn device_get_flags device_t dev

DESCRIPTION

Each device supports a set of driver-dependent flags which are often used to control device behaviour. These flags are read by calling Fn device_get_flags and written by calling Fn device_set_flags .

AUTHORS

This manual page was written by An Doug Rabson .