freebsd-skq/tools/tools
marius d60b8a3096 Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by:	jhb
Reviewed by:	grehan, jhb, marcel
Approved by:	re (kensmith), jhb (PCI maintainer hat)
2007-09-30 11:05:18 +00:00
..
aac Fix the path to aac_ioctl.h in the comment and style includes. 2005-11-06 15:47:06 +00:00
ansify Add a -c option to control caddr_t replacement (which was commented out in 2005-12-13 22:21:46 +00:00
ath create empty opt_ah.h for compiling athstats.o; it just needs 2007-02-02 02:39:56 +00:00
backout_commit
build_option_survey Get the MK_FOO column right 2006-03-25 21:51:46 +00:00
commitsdb
crypto Update structure name to follow the new IPsec code. 2007-09-19 08:50:55 +00:00
editing
epfe
find-sb Add fs_unrefs field to the super block structure. 2006-10-31 22:18:33 +00:00
gdb_regofs Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
genericize Avoid triggering autovivification of %config entries, which would result in 2006-01-30 10:46:01 +00:00
hcomp
html-mv
ifinfo Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieve 2006-01-04 12:57:09 +00:00
ipw Fix type warnings on 64-bit machines. 2006-06-21 09:52:37 +00:00
iwi Style: NO_MAN doesn't need any value. 2006-03-15 10:46:38 +00:00
kdrv
kernelcruft
kerninclude
kernxref Update a little bit. 2005-02-10 12:47:55 +00:00
kttcp Make kttcp work in -stable (and -current) 2004-12-13 20:40:16 +00:00
mfc Fix commit mail retrieval when using message-id. 2007-07-10 15:30:15 +00:00
mfi Expand a comment for clarity and fix a missed substitution. 2007-01-02 04:51:26 +00:00
mid
ministat Improve input parsing: 2006-08-28 08:27:02 +00:00
mtxstat add a command to calculate the ratios of cnt_hold and cnt_lock to locks 2004-07-27 00:36:53 +00:00
nanobsd Add option to not fill second code image, this makes the full disk 2007-08-26 14:57:08 +00:00
ncpus fixups 2006-03-06 21:51:27 +00:00
net80211 wlandebug has been moved to the base system. 2007-07-28 00:18:24 +00:00
netrate Add 's' after printing the send interval to make it clear it's a send 2007-02-08 15:37:13 +00:00
nxge Neterion Xframe 10GbE Server/Storage adapter driver. 2007-06-29 22:47:18 +00:00
pciid Update the location of the Hart's database as well. 2004-06-28 11:46:48 +00:00
pciroms Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
pirtool Remove 3rd clause, per email from bms 2007-01-11 05:00:30 +00:00
portsinfo
prstats
release
scsi-defects
syscall_timing Add a few more system call timing cases: 2005-08-03 17:33:46 +00:00
sysdoc Add sysdoc, a small set of scripts which will parse a kernel binary and 2005-03-01 05:48:37 +00:00
tinybsd Bring in two fixes for TinyBSD: 2007-08-22 18:45:00 +00:00
umastat Allow to use umastat on coredumps. 2007-02-06 17:57:20 +00:00
usb Script for downloading and printing in hex, the offical vendor ID's from 2004-04-18 05:37:34 +00:00
vop_table - Initial revamp of vop_table.tcl. This scripting is ugly and will be 2005-01-05 06:53:03 +00:00
whereintheworld
README Neterion Xframe 10GbE Server/Storage adapter driver. 2007-06-29 22:47:18 +00:00

# $FreeBSD$

This directory is for tools.

A tool is something which is sometimes useful, and doesn't fit any of
the other categories.

Please make a subdir per program, and add a brief description to this
file.

ansify		Convert K&R-style function definitions to ANSI style
ath		Tools specific to the Atheros 802.11 support
backout_commit	A tool for reading in a commit message and generating
		a script that will backout the commit.
commitsdb	A tool for reconstructing commit history using md5
		checksums of the commit logs.
crypto		Test and exercise tools related to the crypto framework
diffburst	OBSOLETE: equivalent functionality is available via split -p.
		For example: "split -p ^diff < patchfile". See split(1).
editing		Editor modes and the like to help editing FreeBSD code.
epfe 		Extract printing filter examples from printing.sgml.
find-sb		Scan a disk for possible filesystem superblocks.
gdb_regofs	A simple tool that prints out a register offset table
		for mapping gdb(1) register numbers to struct reg and
		struct fpreg offsets. The tool is useful on selected
		platforms only.
genericize	Turn a kernel config into something that can more easily
		be diffed against the appropriate GENERIC.
hcomp		Compress header files by removing comments and whitespace.
html-mv         Rename HTML generated filenames to human readable filenames.
ifinfo		Uses the interface MIB to print out all the information
		an interface exports in an ugly form.
iwi		Tools specific to the Intel PRO/Wireless 2200BG/2225BG/2915ABG
		support.
kdrv		KernelDriver; add/list/remove third-party kernel driver
		source to/in/from a kernel source tree.
kernelcruft	Shellscript to find orphaned *.c files in /sys
kerninclude	Shellscript to find unused #includes in the kernel.
kernxref	Shellscript to cross reference symbols in the LINT kernel.
kttcp		An in-kernel version of the ttcp network performance tool
mfc		Merge a directory from HEAD to a branch where it does not
		already exist and other MFC related script(s).
mid	 	Create a Message-ID database for mailing lists.
ncpus		Count the number of processors
nxge		A diagnostic tool for the nxge(4) driver
pciid		Generate src/share/misc/pci_vendors.
pciroms		A tool for dumping PCI ROM images. WARNING: alpha quality.
pirtool		A tool for dumping the $PIR table on i386 machines at runtime.
portsinfo 	Generate list of new ports for last two weeks.
prstats		Generate statistics about the PR database.
recoverdisk	Copy as much data as possible from a deffective disk.
scsi-defects	Get at the primary or grown defect list of a SCSI disk.
sysdoc		Build a manual page with available sysctls for a specific
		kernel configuration.
tinybsd		Script to build FreeBSD embedded systems.
vop_table	Generates a HTML document that shows all the VOP's in
		the kernel.
whereintheworld	Summarizes "make world" output.