Giorgos Keramidas 4f867c2d17 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
2005-09-15 17:51:39 +00:00
..
2005-04-08 18:04:39 +00:00
2004-08-16 12:25:48 +00:00
2005-08-25 21:06:56 +00:00
2005-08-29 16:48:28 +00:00
2005-09-15 17:12:29 +00:00
2005-09-15 17:12:29 +00:00
2005-08-18 19:24:30 +00:00
2005-08-18 19:24:30 +00:00
2005-01-07 05:01:24 +00:00
2005-02-24 21:32:56 +00:00