summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-041-0/+2
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Bump libdevinfo SHLIB_MAJOR, forgotten in r297000.jhibbits2016-03-181-0/+2
| | | | | | | | Spotted by: bapt
* | First pass through library packaging.gjb2016-02-041-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* Convert rman to use rman_res_t instead of u_longjhibbits2016-01-272-8/+8
| | | | | | | | | | | | | | | | | | | | Summary: Migrate to using the semi-opaque type rman_res_t to specify rman resources. For now, this is still compatible with u_long. This is step one in migrating rman to use uintmax_t for resources instead of u_long. Going forward, this could feasibly be used to specify architecture-specific definitions of resource ranges, rather than baking a specific integer type into the API. This change has been broken out to facilitate MFC'ing drivers back to 10 without breaking ABI. Reviewed By: jhb Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D5075
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-251-1/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-1/+1
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-1/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+1
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Updated/new Makefile.dependsjg2012-11-081-0/+3
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Expose the constants for internal new-bus device flags to userland. Thejhb2015-02-051-1/+1
| |/ |/| | | | | | | | | 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.
* | 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