freebsd-nq/sys
John Baldwin 15d107308f Add a new -B flag for use with list mode (-l) that lists details about
bridges.  Currently this includes information about what resources a
bridge decodes on the upstream side for use by downstream devices including
bus numbers, I/O port resources, and memory resources.  Windows and bus
ranges are enumerated for both PCI-PCI bridges and PCI-CardBus bridges.

To simplify the implementation, all enumeration is done by reading the
appropriate config space registers directly rather than querying the
bridge driver in the kernel via new ioctls.  This does result in a few
limitations.

First, an unimplemented window in a PCI-PCI bridge cannot be accurately
detected as accurate detection requires writing to the window base
register.  That is not safe for pciconf(8).  Instead, this assumes that
any window where both the base and limit read as all zeroes is
unimplemented.

Second, the PCI-PCI bridge driver in a tree has a few quirks for
PCI-PCI bridges that use subtractive decoding but do not indicate that
via the progif config register.  The list of quirks is duplicated in
pciconf's source.

Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D4171
2015-11-23 23:48:07 +00:00
..
amd64 Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
arm Use #ifdef to get the file compiling without errors 2015-11-23 18:20:32 +00:00
arm64 Revert r291142. 2015-11-23 11:19:00 +00:00
boot Print more detailed info about the disk and partition chosen for booting. 2015-11-22 20:38:50 +00:00
bsm
cam Add API to obtain primary enclosure name and ID for /dev/sesX devices. 2015-11-21 10:22:01 +00:00
cddl Fix a bug in the amd64 dtrace_getarg() implementation: when unwinding the 2015-11-19 05:33:15 +00:00
compat Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
conf Move hdmi_if.m to files.arm so other kernel configs can use it. 2015-11-21 16:25:03 +00:00
contrib Fix inconsistent use of malloc type for cdev private data. 2015-11-23 13:23:53 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Add a new -B flag for use with list mode (-l) that lists details about 2015-11-23 23:48:07 +00:00
fs When the nfsd threads are terminated, the NFSv4 server state 2015-11-21 23:55:46 +00:00
gdb
geom Fix early kernel dump via dumpdev env 2015-11-17 20:55:50 +00:00
gnu Fixing a memory leak on module unloading. 2015-09-11 22:43:35 +00:00
i386 Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
isa
kern The buffer passed to an sbuf drain callback is not necessarily 2015-11-23 18:45:35 +00:00
kgssapi
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Revert r291142. 2015-11-23 11:19:00 +00:00
modules Rip off target mode support for parallel SCSI QLogic adapters. 2015-11-23 10:06:19 +00:00
net Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
net80211 net80211: add ieee80211_restart_all() call. 2015-10-27 20:40:57 +00:00
netgraph Move iflladdr_event eventhandler invocation to if_setlladdr. 2015-11-14 13:34:03 +00:00
netinet Fix the handling of IPSec policies in the SCTP stack. At least 2015-11-21 18:21:16 +00:00
netinet6 in6_mc_get: Fix recursion on if_addr_lock on malloc failure 2015-11-19 00:27:26 +00:00
netipsec Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
netnatm
netpfil Add destroy_object callback to object rewriting framework. 2015-11-23 22:06:55 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Wait up to 10 seconds for late-initializing network interfaces to arrive. 2015-09-26 13:55:55 +00:00
nfsclient
nfsserver
nlm
ofed Don't leak work if __mlx4_register_vlan(..) fails in 2015-11-19 01:08:16 +00:00
opencrypto Remove unneeded includes of opt_kdtrace.h. 2015-11-22 02:01:01 +00:00
pc98 Remove compatibility shims for legacy ATA device names. 2015-10-11 13:01:51 +00:00
powerpc Provide support for userland binaries using the new ELFv2 ABI. This is a 2015-11-23 17:07:51 +00:00
rpc Improve locking of sg_threadcount. 2015-11-19 08:04:05 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Merge from r290547: 2015-11-21 02:49:33 +00:00
sys Split kerne timekeep ABI structure vdso_sv_tk out of the struct 2015-11-23 07:09:35 +00:00
teken Sync HPA and VPA implementations with CUP. 2015-08-24 07:49:27 +00:00
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Rename the /usr/share/doc/legal files to driver.LICENSE to work around 2015-10-16 00:38:05 +00:00
ufs Do not perform read-ahead for BA_CLRBUF request when we are low on 2015-10-27 13:44:13 +00:00
vm Record proper commit message for r291157. 2015-11-22 09:50:13 +00:00
x86 Revert r291142. 2015-11-23 11:19:00 +00:00
xdr
xen xen/intr: fix the event channel enabled per-cpu mask 2015-11-05 14:33:46 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00