The text ba5d57032de5, as FreeBSD 9.1-RELEASE shipped it.
manipulate device state
device_is_attached(9) on FreeBSD now