aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-02-05 22:42:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2015-02-05 22:42:44 +0000
commit94f0eafcd25c5e856f62c099c79fadcf7ae7cced (patch)
tree79bbff0e909cce20413c5d44e7af2fda06e5bfa1 /lib
parentbd496ef499cf63bd102f6a13aa2e64ef3464bff5 (diff)
downloadsrc-94f0eafcd25c5e856f62c099c79fadcf7ae7cced.tar.gz
src-94f0eafcd25c5e856f62c099c79fadcf7ae7cced.zip
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.
Notes
Notes: svn path=/head/; revision=278299
Diffstat (limited to 'lib')
-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 c8990a6f0d13..b0b8cec49f36 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 {