The text e6c51fe6c43f, as FreeBSD 10.3-RELEASE shipped it.
manipulate device state
device_get_state(9) on FreeBSD now