freebsd-skq/sys/pci
njl fe07eb9dfb Revise attach/detach resource cleanup
- Unconditionally call *_stop() if device is in the tree. This is to
  prevent callouts from happening after the device is gone. Checks for
  bus_child_present() should be added in the future to keep from touching
  potentially non-existent hardware in *_detach().  Found by iedowse@.
- Always check for and free miibus children, even if the device is not in
  the tree since some failure cases could have gotten here.
- Call ether_ifdetach() in the irq setup failure case
- ti(4), xl(4): move ifmedia_init() calls to the beginning of attach so
  that ifmedia_removeall() can be unconditionally called on detach. There
  is no way to detect whether ifmedia has been initialized without using
  a separate variable (as tl(4) does).
- Add comments to indicate assumptions of code path
2003-04-17 20:32:06 +00:00
..
agp_ali.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_amd.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_i810.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_if.m Fix typo. 2003-04-07 10:06:48 +00:00
agp_intel.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_sis.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_via.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp.c
agppriv.h
agpreg.h
agpvar.h
alpm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
amdpm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cy_pci.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dc21040reg.h
if_dc.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_dcreg.h
if_de.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
if_devar.h
if_en_pci.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
if_mn.c
if_pcn.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_pcnreg.h
if_rl.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_rlreg.h
if_sf.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_sfreg.h
if_sis.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_sisreg.h
if_sk.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_skreg.h
if_ste.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_stereg.h
if_ti.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_tireg.h
if_tl.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_tlreg.h
if_vr.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_vrreg.h
if_wb.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_wbreg.h
if_xl.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_xlreg.h
intpm.c
intpmreg.h
locate.pl
meteor_reg.h
meteor.c
ncr.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ncrreg.h
ti_fw2.h
ti_fw.h
viapm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
xmaciireg.h
xrpu.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00