freebsd-dev/sys/pci
Nate Lawson 693f4477b1 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 - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
agppriv.h
agpreg.h Add agpreg.h missed in commit to agp_i810 (adding i85x/i86x AGP support). 2003-02-13 19:24:19 +00:00
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 Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_dc.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_dcreg.h Add preliminary support for the Hawking PN672TX CardBus cards. 2003-01-10 05:37:15 +00:00
if_de.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
if_devar.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_en_pci.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
if_mn.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
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 Add support for Planex FNW-3800-TX(CardBus 100M/10M). 2003-03-18 14:57:09 +00:00
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 Fix typo in an unused macro. 2003-01-29 21:56:10 +00:00
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 Change the chip description from "DFE-550TX" to "DL10050". 2002-12-23 21:50:47 +00:00
if_ti.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_tireg.h Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
if_tl.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_tlreg.h Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead of 2002-10-21 02:54:50 +00:00
if_vr.c Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
if_vrreg.h Add deviceids for 6105 and 6105M chips. Further changes will be necessary 2003-02-01 01:27:05 +00:00
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 Instead of relying on a compile time define to determine whether the xl 2003-03-18 06:29:51 +00:00
intpm.c Use rman_get_start() to get start address of the resource. 2003-02-26 13:46:40 +00:00
intpmreg.h
locate.pl
meteor_reg.h
meteor.c - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
ncr.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ncrreg.h
ti_fw2.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
ti_fw.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
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