History log of /freebsd-10.0-release/lib/libdevinfo/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


218505 10-Feb-2011 imp

sys/rman.h now requires sys/types.h. Include it to make the API match
the man page again.

Submitted by: Raphael Kubo da Costa
MFC after: 2 weeks


201381 02-Jan-2010 ed

Build lib/ with WARNS=6 by default.

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.


199291 15-Nov-2009 attilio

Collapse devinfo_state_t with device_state_t in order to avoid a
structure replication and improve manteneability.

Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>


197224 15-Sep-2009 attilio

Use explicit int values for the device states in order to allow,
if necessary, in the future, adds of new states without breaking ABI
between revisions.

Proposed by: kib
Approved by: imp


162385 17-Sep-2006 ru

Markup fixes.


160428 17-Jul-2006 stefanf

Make the variadic macro debug() comply to C99.


149671 31-Aug-2005 rodrigc

Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++
programs. Also, add include guards.

PR: bin/44277
Submitted by: Alex Zepeda <freebsd at blarf dot homeip dot net>
MFC after: 1 day


147529 22-Jun-2005 jhb

Clear devinfo_generation in devinfo_free() since we are freeing all of the
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


146441 20-May-2005 charnier

Remove unused variables. Whitespace cleaning.


142951 01-Mar-2005 stefanf

Fix typo in a comment.


135576 22-Sep-2004 stefanf

Prefer C99's __func__ over GCC's __FUNCTION__.


132667 26-Jul-2004 charnier

Enclose .Fa fn with ``The ... function'' at the beginning of sentences.


119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


111045 17-Feb-2003 imp

Expand length of pnpinfo and length fields since pccard pnpinfo can
easily be longer than 64 characters.


108317 27-Dec-2002 schweikh

english(4) police.


103662 20-Sep-2002 imp

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.


102227 21-Aug-2002 mike

o Merge <machine/ansi.h> and <machine/types.h> into a new header
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


96520 13-May-2002 ru

MAN[1-9] -> MAN.


84399 03-Oct-2001 bde

Made this header self-sufficient.

Fully parenthesized a macro definition.


84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


83551 16-Sep-2001 dillon

Implement __FBSDID()


81459 10-Aug-2001 jhb

Include string.h for the strlen() prototype to quiet a warning.


79754 15-Jul-2001 dd

Remove whitespace at EOL.


75851 23-Apr-2001 ru

mdoc(7) police: fix markup.


75745 20-Apr-2001 msmith

devinfo_var.h should not be in INCS


75744 20-Apr-2001 msmith

More typo fixes, .Os -> .Fx


75743 20-Apr-2001 msmith

typo .Fr -> .Fn


75741 20-Apr-2001 msmith

Add a manpage for libdevinfo.


75726 20-Apr-2001 msmith

This is the Device Information Library, libdevinfo.

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.