freebsd-skq/sys/pci
Bjoern A. Zeeb e7f8ebb45e Do not try to free non allocated memory in error case.
Do our best to plug some memory leaks (VPD data, jumbo memory buffer,...).
Log if we cannot free because memory still in use[1].
Change locking to avoid ''acquiring duplicate lock of same
  type: "network driver"'' and potential deadlock. Also seems to fix LOR #063.

[1] This change does not solve problems if buffers are still in use when
    unloading if_sk.ko. There is ongoing work which will address jumbogram
    allocations in a more general way.

PR:		kern/75677 (with changes, no mii fixes in here)
Tested by:	net, Antoine Brodin (slightly different version)
Approved by:	rwatson (mentor)
MFC after:	5 days
2005-03-17 14:27:22 +00:00
..
agp_ali.c Add device id for the Ali M1671 host to AGP bridge. 2005-02-27 13:05:34 +00:00
agp_amd64.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_amd.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_i810.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_if.m /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
agp_intel.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_nvidia.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
agp_sis.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp_via.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
agp.c Avoid repeated acquisition and release of the vm object lock inside of 2004-10-24 07:12:13 +00:00
agppriv.h Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
agpreg.h AMD64 on-CPU GART support. 2004-08-16 12:25:48 +00:00
agpvar.h
alpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
amdpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
dc21040reg.h
if_dc.c Bugger, wiped out a needed comma in the previous commit. 2005-03-09 00:54:55 +00:00
if_dcreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_de.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
if_devar.h Apply the long-overdue hatchet of style(9) death to this file. 2004-07-09 02:19:07 +00:00
if_mn.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_pcn.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_pcnreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_rl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_rlreg.h Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from 2005-01-22 22:40:53 +00:00
if_sf.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_sfreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_sis.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
if_sisreg.h Revert local experiment which leaked into commit. 2005-01-07 23:54:16 +00:00
if_sk.c Do not try to free non allocated memory in error case. 2005-03-17 14:27:22 +00:00
if_skreg.h Do not try to free non allocated memory in error case. 2005-03-17 14:27:22 +00:00
if_ste.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_stereg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_ti.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_tireg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_tl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_tlreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_vr.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_vrreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_wb.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_wbreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
if_xl.c Fix style(9) issues with __P removal. 2005-02-24 22:33:05 +00:00
if_xlreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
intpm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
intpmreg.h
locate.pl
ncr.c Add back 'n' that went missing in last commit 2005-02-25 03:43:43 +00:00
ncrreg.h Fix typos from previous commit. 2005-01-07 05:01:24 +00:00
ti_fw2.h
ti_fw.h
viapm.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
xmaciireg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
xrpu.c Return BUS_PROBE_DEFAULT instead of 0. 2005-02-24 21:32:56 +00:00
yukonreg.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00