The text 36488cd3ac7b, as FreeBSD 11.4-RELEASE shipped it.
manipulate device state
device_get_state(9) on FreeBSD now