freebsd-skq/sys/dev/pci
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
..
eisa_pci.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
fixup_pci.c
hostb_pci.c Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
ignore_pci.c
isa_pci.c Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls 2011-12-14 12:34:02 +00:00
pci_if.m Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
pci_pci.c Explicitly enable busmastering on PCI-PCI bridges. Transactions initiated 2012-08-06 19:49:57 +00:00
pci_private.h Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
pci_subr.c Respect the BIOS/firmware's notion of acceptable address ranges for PCI 2011-07-15 21:08:58 +00:00
pci_user.c Always initialize pattern_buf pointers to NULL, otherwise AMD64 machine 2012-12-26 13:07:17 +00:00
pci.c Make detaching drivers from PCI devices more robust. While here, fix a 2013-06-27 20:21:54 +00:00
pcib_if.m
pcib_private.h Respect the BIOS/firmware's notion of acceptable address ranges for PCI 2011-07-15 21:08:58 +00:00
pcireg.h Add new capability types encodings from HyperTransport I/O Link 2013-05-17 14:04:31 +00:00
pcivar.h Save more of config space for PCI Express and PCI-X devices. 2012-03-08 21:09:34 +00:00
vga_pci.c Usnure that PCI bus BIS_GET_DMA_TAG() method sees the actual PCI 2013-04-14 14:02:34 +00:00