summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo
Commit message (Collapse)AuthorAgeFilesLines
* use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* sys/rman.h now requires sys/types.h. Include it to make the API matchimp2011-02-102-1/+2
| | | | | | | the man page again. Submitted by: Raphael Kubo da Costa MFC after: 2 weeks
* Build lib/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Collapse devinfo_state_t with device_state_t in order to avoid aattilio2009-11-151-10/+2
| | | | | | | structure replication and improve manteneability. Reviewed by: jhb, imp Tested by: Riccardo Torrini <riccardo at torrini dot org>
* Use explicit int values for the device states in order to allow,attilio2009-09-151-4/+4
| | | | | | | | if necessary, in the future, adds of new states without breaking ABI between revisions. Proposed by: kib Approved by: imp
* Markup fixes.ru2006-09-171-1/+1
|
* Make the variadic macro debug() comply to C99.stefanf2006-07-171-3/+6
|
* Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++rodrigc2005-08-311-0/+9
| | | | | | | | programs. Also, add include guards. PR: bin/44277 Submitted by: Alex Zepeda <freebsd at blarf dot homeip dot net> MFC after: 1 day
* Clear devinfo_generation in devinfo_free() since we are freeing all of thejhb2005-06-221-0/+1
| | | | | | | | | | | | | cached state. Otherwise, a subsequent call to devinfo_init() would succeed without reading the device tree from the kernel thinking that the cached state was up to date since the generation count was the same. However, since the cached state was actually free'd, attempts to examine the tree after the second devinfo_init() would fail. Reported by: Juho Vuori juho dot vuori at kepa dot fi Submitted by: Stefan Farfeleder stefan at fafoe dot narf dot at Approved by: re (dwhite) MFC after: 1 week
* Remove unused variables. Whitespace cleaning.charnier2005-05-201-13/+13
|
* Fix typo in a comment.stefanf2005-03-011-1/+1
|
* Prefer C99's __func__ over GCC's __FUNCTION__.stefanf2004-09-221-1/+1
|
* Enclose .Fa fn with ``The ... function'' at the beginning of sentences.charnier2004-07-261-4/+8
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* Expand length of pnpinfo and length fields since pccard pnpinfo canimp2003-02-171-2/+2
| | | | easily be longer than 64 characters.
* english(4) police.schweikh2002-12-271-1/+1
|
* Expose the new kernel data structures to libdevinfo:imp2002-09-204-6/+41
| | | | | | 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.
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* MAN[1-9] -> MAN.ru2002-05-131-2/+1
|
* Made this header self-sufficient.bde2001-10-031-6/+9
| | | | Fully parenthesized a macro definition.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Implement __FBSDID()dillon2001-09-161-2/+3
|
* Include string.h for the strlen() prototype to quiet a warning.jhb2001-08-101-0/+1
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: fix markup.ru2001-04-231-31/+31
|
* devinfo_var.h should not be in INCSmsmith2001-04-201-1/+1
|
* More typo fixes, .Os -> .Fxmsmith2001-04-201-4/+5
|
* typo .Fr -> .Fnmsmith2001-04-201-1/+1
|
* Add a manpage for libdevinfo.msmith2001-04-202-1/+238
|
* This is the Device Information Library, libdevinfo.msmith2001-04-204-0/+681
The devinfo library provides access to the kernel's internal device hierarchy and to the I/O resource manager. The library uses a sysctl(9) interface to obtain a snapshot of the kernel's state which is then made available to the application.
OpenPOWER on IntegriCloud