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
ansify
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
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
genericize
hcomp
html-mv
ifinfo
ipw Fix type warnings on 64-bit machines. 2006-06-21 09:52:37 +00:00
iwi
kdrv
kernelcruft
kerninclude
kernxref
kttcp
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
nanobsd Add option to not fill second code image, this makes the full disk 2007-08-26 14:57:08 +00:00
ncpus
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
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
sysdoc
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
vop_table
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.