summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-02-05 22:42:44 +0000
committerjhb <jhb@FreeBSD.org>2015-02-05 22:42:44 +0000
commit5114ec1b5901da1209afc0a7ac35616908bdf0e0 (patch)
tree79bbff0e909cce20413c5d44e7af2fda06e5bfa1 /lib/libdevinfo
parent49ba8ceb19505a0e0d49b2b436526bf135193ef9 (diff)
downloadFreeBSD-src-5114ec1b5901da1209afc0a7ac35616908bdf0e0.zip
FreeBSD-src-5114ec1b5901da1209afc0a7ac35616908bdf0e0.tar.gz
Expose the constants for internal new-bus device flags to userland. The
flag value is already exposed via dv_flags, just not the meaning of the flags themselves. Use these constants to annotate devices that are disabled or suspended in devinfo output.
Diffstat (limited to 'lib/libdevinfo')
-rw-r--r--lib/libdevinfo/devinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdevinfo/devinfo.h b/lib/libdevinfo/devinfo.h
index c8990a6..b0b8cec 100644
--- a/lib/libdevinfo/devinfo.h
+++ b/lib/libdevinfo/devinfo.h
@@ -50,7 +50,7 @@ struct devinfo_dev {
char *dd_location; /* Where bus thinks dev at */
uint32_t dd_devflags; /* API flags */
uint16_t dd_flags; /* internal dev flags */
- devinfo_state_t dd_state; /* attacement state of dev */
+ devinfo_state_t dd_state; /* attachment state of dev */
};
struct devinfo_rman {
OpenPOWER on IntegriCloud