Ed Schouten
e8f386b409
Mark global functions and/or variables in devinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:48 +00:00
Ulrich Spörlein
aa12cea2cc
mdoc: order prologue macros consistently by Dd/Dt/Os
...
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.
Reviewed by: ru
Approved by: philip, ed (mentors)
2010-04-14 19:08:06 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Attilio Rao
1262810177
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
John Baldwin
d9cec0a09e
Bump up the limit for when to print the resources for a given resource
...
manager in hex vs decimal to 1000 from 100 so that IRQs are printed in
decimal.
MFC after: 3 days
2007-10-27 13:06:15 +00:00
Ruslan Ermilov
d20241a618
Sync usage() and SYNOPSIS.
2006-09-29 16:46:01 +00:00
Joseph Koshy
8fa1d32e68
Follow the rules for the .Dd macro use: use unabbreviated month names.
...
Submitted by: ru
2005-11-28 13:51:36 +00:00
Joseph Koshy
72eb2563d6
Use a separate synopsis line for -u as devinfo will ignore other
...
options when -u is specified. Xref device(9) and devclass(9).
2005-11-28 01:33:19 +00:00
Philippe Charnier
6e7abcb1f1
Remove unused local variable.
2004-01-04 15:51:32 +00:00
Warner Losh
696a3d28c0
-v now also prints the pnpinfo and location information for the devices
...
whose bus' provide this information.
2003-02-17 18:56:54 +00:00
Warner Losh
7f156483af
o Don't print devices that aren't attached unless run with the newly
...
minted -v flag.
o Print devices that don't return a name as 'unknown' in -v mode.
# Yea! Now I wont think I have 10 different ISA network adapters in my
# laptop.
2002-09-20 02:26:58 +00:00
Giorgos Keramidas
f1c746bb3f
Typo fix: syste -> system
2002-05-31 01:46:26 +00:00
Ruslan Ermilov
4e71fd98ee
mdoc(7) police: Make this look like an average manpage.
2002-05-30 14:26:02 +00:00
Giorgos Keramidas
e4e67dfec7
o Uncapitalize .Nd macro arguments and remove punctuation
...
o Minor grammar fixes.
o Sort SEE ALSO references, and add iostat(8).
o Delete punctuation at end of AUTHORS' section only line
Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:40:07 +00:00
Giorgos Keramidas
1a6b42c84b
Remove EOL space.
...
This is a whitespace only change.
Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-13 08:37:46 +00:00
Robert Watson
11e4779e45
Add a man page for the devinfo command; I'd argue devinfo is the single
...
most useful new command added to FreeBSD 5.0, but maybe that's just
me :-).
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-12 14:23:15 +00:00
Mike Heffner
28644e448a
Reorder WARNS line for style.
...
Pointed out by: bde
2001-12-10 21:13:36 +00:00
Mike Heffner
84e0df3fcf
WARNS=2 cleanup and fix potential unitialized variable bug.
...
PR: bin/32567
MFC after: 2 weeks
2001-12-09 07:32:55 +00:00
David E. O'Brien
90e655ea4e
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Bruce Evans
ceefda85fc
Fixed missing DPADD.
...
Don't clobber CFLAGS by assigning to it using "=".
Fixed some style bugs.
2001-05-12 14:34:46 +00:00
Mike Smith
ce7894ee6d
Simple tool to print the device tree and resource usage by devices. Also
...
serves as an example of libdevinfo usage.
2001-04-21 00:13:25 +00:00