diff options
author | imp <imp@FreeBSD.org> | 2002-09-20 02:16:33 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-09-20 02:16:33 +0000 |
commit | a4260bf8f13b36400c592d22d847e493853de5eb (patch) | |
tree | bbf4b3adcfce72b29e0bb46bc3df318d2f30042b /lib/libdevinfo/devinfo.3 | |
parent | b43e53617ad2515831d7410b70fe9385e5fc2b86 (diff) | |
download | FreeBSD-src-a4260bf8f13b36400c592d22d847e493853de5eb.zip FreeBSD-src-a4260bf8f13b36400c592d22d847e493853de5eb.tar.gz |
Expose the new kernel data structures to libdevinfo:
o Added dd_pnpinfo, dd_location, dd_devflags, dd_flags and dd_state
o Copy/initialize these as necessary.
o Document the changes to the interface in devinfo.3.
Diffstat (limited to 'lib/libdevinfo/devinfo.3')
-rw-r--r-- | lib/libdevinfo/devinfo.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libdevinfo/devinfo.3 b/lib/libdevinfo/devinfo.3 index ec1a5e1..de1fd62 100644 --- a/lib/libdevinfo/devinfo.3 +++ b/lib/libdevinfo/devinfo.3 @@ -101,6 +101,11 @@ struct devinfo_dev { char *dd_name; /* name of device */ char *dd_desc; /* device description */ char *dd_drivername; /* name of attached driver */ + char *dd_pnpinfo; /* pnp info from parent bus */ + char *dd_location; /* Where bus thinks dev at */ + uint32_t dd_devflags; /* API flags */ + uint16_t dd_flags; /* internal dev flags */ + device_state_t dd_state; /* attacement state of dev */ }; struct devinfo_rman { |