From 94f0eafcd25c5e856f62c099c79fadcf7ae7cced Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 5 Feb 2015 22:42:44 +0000 Subject: 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. --- lib/libdevinfo/devinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libdevinfo/devinfo.h') 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 { -- cgit v1.2.3