cvs commit: src/sys/pci if_dc.c
Giorgos Keramidas
keramida at FreeBSD.org
Thu Sep 15 10:51:40 PDT 2005
keramida 2005-09-15 17:51:39 UTC
FreeBSD src repository (doc committer)
Modified files:
sys/pci if_dc.c
Log:
When bus_alloc_resource_any() fails, dc_detach() is called and it
attempts to deallocate busdma tags and resources that haven't been
allocated yet, causing a panic every time a dc interface fails to
attach. Fix by checking that we really have something to dealloc
before calling bus_dma*() functions.
Approved by: jhb
MFC after: 1 week
Revision Changes Path
1.167 +11 -5 src/sys/pci/if_dc.c
More information about the cvs-src
mailing list