Commit Graph

30 Commits

Author SHA1 Message Date
bapt
1f77f137dc use .Mt to mark up email addresses consistently (part3)
PR:		191174
Submitted by:	Franco Fichtner  <franco at lastsummer.de>
2014-06-23 08:23:05 +00:00
imp
7d2a04ecdc 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
2011-02-10 04:53:09 +00:00
ed
09818ac28e 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.
2010-01-02 09:58:07 +00:00
attilio
9dd892aeae 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>
2009-11-15 16:44:43 +00:00
attilio
25c88f593e 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
2009-09-15 16:59:52 +00:00
ru
f4eec08060 Markup fixes. 2006-09-17 21:27:35 +00:00
stefanf
d83fcb992a Make the variadic macro debug() comply to C99. 2006-07-17 09:33:24 +00:00
rodrigc
caed8dde2c 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
2005-08-31 14:57:39 +00:00
jhb
10ae787bfb 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
2005-06-22 15:20:11 +00:00
charnier
6ae7d11191 Remove unused variables. Whitespace cleaning. 2005-05-20 12:46:34 +00:00
stefanf
27cc4f46f0 Fix typo in a comment. 2005-03-01 20:32:05 +00:00
stefanf
5b6654bdf6 Prefer C99's __func__ over GCC's __FUNCTION__. 2004-09-22 16:56:49 +00:00
charnier
fd96071fc4 Enclose .Fa fn with ``The ... function'' at the beginning of sentences. 2004-07-26 19:35:20 +00:00
ru
1c23ef339b mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
imp
e99e4d0404 Expand length of pnpinfo and length fields since pccard pnpinfo can
easily be longer than 64 characters.
2003-02-17 18:56:00 +00:00
schweikh
fec6546e12 english(4) police. 2002-12-27 12:15:40 +00:00
imp
a4260bf8f1 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.
2002-09-20 02:16:33 +00:00
mike
9e6f796b0d 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
2002-08-21 16:20:02 +00:00
ru
c47610e655 MAN[1-9] -> MAN. 2002-05-13 12:11:54 +00:00
bde
e94a83a247 Made this header self-sufficient.
Fully parenthesized a macro definition.
2001-10-03 05:25:07 +00:00
ru
623da62a5a mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
dillon
41abc6d4e4 Implement __FBSDID() 2001-09-16 21:35:07 +00:00
jhb
e294674e6c Include string.h for the strlen() prototype to quiet a warning. 2001-08-10 16:55:09 +00:00
dd
a145482cf6 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
684299fc84 mdoc(7) police: fix markup. 2001-04-23 07:39:36 +00:00
msmith
dd6af5226a devinfo_var.h should not be in INCS 2001-04-20 23:10:09 +00:00
msmith
79878361a8 More typo fixes, .Os -> .Fx 2001-04-20 23:02:52 +00:00
msmith
9f4c2ce4cc typo .Fr -> .Fn 2001-04-20 23:00:24 +00:00
msmith
ba7f88e2be Add a manpage for libdevinfo. 2001-04-20 22:48:12 +00:00
msmith
bbdb020320 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.
2001-04-20 05:53:30 +00:00