303975 |
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
297000 |
18-Mar-2016 |
jhibbits |
Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.
On some architectures, u_long isn't large enough for resource definitions. Particularly, powerpc and arm allow 36-bit (or larger) physical addresses, but type `long' is only 32-bit. This extends rman's resources to uintmax_t. With this change, any resource can feasibly be placed anywhere in physical memory (within the constraints of the driver).
Why uintmax_t and not something machine dependent, or uint64_t? Though it's possible for uintmax_t to grow, it's highly unlikely it will become 128-bit on 32-bit architectures. 64-bit architectures should have plenty of RAM to absorb the increase on resource sizes if and when this occurs, and the number of resources on memory-constrained systems should be sufficiently small as to not pose a drastic overhead. That being said, uintmax_t was chosen for source clarity. If it's specified as uint64_t, all printf()-like calls would either need casts to uintmax_t, or be littered with PRI*64 macros. Casts to uintmax_t aren't horrible, but it would also bake into the API for resource_list_print_type() either a hidden assumption that entries get cast to uintmax_t for printing, or these calls would need the PRI*64 macros. Since source code is meant to be read more often than written, I chose the clearest path of simply using uintmax_t.
Tested on a PowerPC p5020-based board, which places all device resources in 0xfxxxxxxxx, and has 8GB RAM. Regression tested on qemu-system-i386 Regression tested on qemu-system-mips (malta profile)
Tested PAE and devinfo on virtualbox (live CD)
Special thanks to bz for his testing on ARM.
Reviewed By: bz, jhb (previous) Relnotes: Yes Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D4544
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
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
|
278299 |
05-Feb-2015 |
jhb |
Expose the constants for internal new-bus device flags to userland. The 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.
|
275054 |
25-Nov-2014 |
bapt |
Convert usr.sbin to LIBADD Reduce overlinking
|
267668 |
20-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part2)
PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
|
227252 |
06-Nov-2011 |
ed |
Mark global functions and/or variables in devinfo(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
|
206622 |
14-Apr-2010 |
uqs |
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)
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
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>
|
173057 |
27-Oct-2007 |
jhb |
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
|
162799 |
29-Sep-2006 |
ru |
Sync usage() and SYNOPSIS.
|
152884 |
28-Nov-2005 |
jkoshy |
Follow the rules for the .Dd macro use: use unabbreviated month names.
Submitted by: ru
|
152866 |
28-Nov-2005 |
jkoshy |
Use a separate synopsis line for -u as devinfo will ignore other options when -u is specified. Xref device(9) and devclass(9).
|
124128 |
04-Jan-2004 |
charnier |
Remove unused local variable.
|
111046 |
17-Feb-2003 |
imp |
-v now also prints the pnpinfo and location information for the devices whose bus' provide this information.
|
103663 |
20-Sep-2002 |
imp |
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.
|
97646 |
31-May-2002 |
keramida |
Typo fix: syste -> system
|
97605 |
30-May-2002 |
ru |
mdoc(7) police: Make this look like an average manpage.
|
96504 |
13-May-2002 |
keramida |
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>
|
96503 |
13-May-2002 |
keramida |
Remove EOL space. This is a whitespace only change.
Reviewed by: rwatson, Hiten Pandya <hiten@uk.FreeBSD.org>
|
96458 |
12-May-2002 |
rwatson |
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>
|
87629 |
10-Dec-2001 |
mikeh |
Reorder WARNS line for style.
Pointed out by: bde
|
87553 |
09-Dec-2001 |
mikeh |
WARNS=2 cleanup and fix potential unitialized variable bug.
PR: bin/32567 MFC after: 2 weeks
|
80029 |
20-Jul-2001 |
obrien |
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.
|
76516 |
12-May-2001 |
bde |
Fixed missing DPADD.
Don't clobber CFLAGS by assigning to it using "=".
Fixed some style bugs.
|
75752 |
21-Apr-2001 |
msmith |
Simple tool to print the device tree and resource usage by devices. Also serves as an example of libdevinfo usage.
|