freebsd-skq/sys
John Baldwin e35ce1f271 Make detaching drivers from PCI devices more robust. While here, fix a
bug where a PCI device would be powered down if it failed to probe, but
not when its driver was detached (e.g. via kldunload).
- Add a new helper method resource_list_release_active() which forcefully
  releases any active resources of a specified type from a resource list.
- Add a bus_child_detached method for the PCI bus driver which forces any
  active resources to be released (and whines to the console if it finds
  any) and then powers the device down.
- Call pci_child_detached() if we fail to probe a device when a driver
  is kldloaded.  This isn't perfect but can avoid leaking resources
  from a probe() routine in the kldload case.

Reviewed by:	imp, brooks
MFC after:	1 month
2013-06-27 20:21:54 +00:00
..
amd64 Move definitions required by userland applications out of acpica_machdep.h. 2013-06-27 00:22:40 +00:00
arm Add UNWINDSVCFRAME to provide the unwind pseudo ops to allow us to unwind 2013-06-27 18:54:18 +00:00
boot - The method introduced as part of r234898 for not altering the boot path 2013-06-09 23:50:30 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Fix some UTF-8 chars slipped into r252204 via copy/paste. 2013-06-26 09:56:33 +00:00
cddl MFV r252215: 2013-06-25 22:14:32 +00:00
compat aio_mlock() added: 2013-06-08 13:30:13 +00:00
conf Add in two new configuration options for the current generation SoCs. 2013-06-26 05:01:50 +00:00
contrib Move definitions required by userland applications out of acpica_machdep.h. 2013-06-27 00:22:40 +00:00
crypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
ddb
dev Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
fs Minor sorting. 2013-06-26 19:43:22 +00:00
gdb
geom Fix a mystery cut-n-paste corruption from the previous commit. 2013-06-19 23:09:10 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Move definitions required by userland applications out of acpica_machdep.h. 2013-06-27 00:22:40 +00:00
ia64 Move definitions required by userland applications out of acpica_machdep.h. 2013-06-27 00:22:40 +00:00
isa
kern Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
kgssapi Isilon reported that sec=krb5p NFS mounts had a problem when m_len == 0 2013-05-01 22:07:55 +00:00
libkern Attempt to mitigate poor initialization of arc4 by one-shot 2013-04-19 00:30:52 +00:00
mips Add the EEPROM start offset and size in so ath_ahb will use the 2013-06-26 05:03:47 +00:00
modules Add Qlogic 10Gb Ethernet Driver for Qlogic 8100 Series CNA Adapter 2013-06-25 17:50:22 +00:00
net Due to the routing related networking kernel redesign work 2013-06-25 00:10:49 +00:00
net80211 Fix typo (dbM -> dBm) 2013-06-14 23:04:31 +00:00
netatalk Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Fix several typos 2013-05-12 16:43:26 +00:00
netinet Fix kmod_*stat_inc() after r249276. The incorrect code actually 2013-06-21 06:36:26 +00:00
netinet6 Delete the nd6 entries associated with an off-link prefix 2013-06-24 05:01:13 +00:00
netipsec Use corresponding macros to update statistics for AH, ESP, IPIP, IPCOMP, 2013-06-20 11:44:16 +00:00
netipx
netnatm
netpfil Improve locking strategy between keys hash and ID hash. 2013-06-13 06:07:19 +00:00
netsmb If the kernel is compiled with VMIMAGE support, the first attempt of 2013-05-04 16:55:48 +00:00
nfs Move the NFS FHA (File Handle Affinity) code from sys/nfsserver to 2013-04-17 22:42:43 +00:00
nfsclient - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm
ofed Store a reference to the vnode associated with a file descriptor in the 2013-06-11 15:37:07 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 MFi386: revision 251039 2013-06-01 12:21:59 +00:00
pci - Corrrect mispellings of word useful 2013-04-17 11:45:15 +00:00
powerpc Cache the Open Firmware CPU properties at attach time, so we don't always 2013-06-23 14:20:54 +00:00
rpc Fix a potential socket leak in the NFS server. If a client closes its 2013-04-08 19:03:01 +00:00
security Relax the vm object locking in mac_proc_vm_revoke_recurse(). A read lock 2013-06-04 17:23:09 +00:00
sparc64 Remove conflicting macros from SPARC64's atomic(9) header. 2013-06-15 08:23:53 +00:00
sys Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
vm - Resolve bucket recursion issues by passing a cookie with zone flags 2013-06-26 00:57:38 +00:00
x86 Fix a KTR_BUSDMA format string. 2013-06-18 06:55:58 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen Adjust i386 Xen PV support for updated Xen interface files. 2013-06-17 01:43:07 +00:00
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00