Tai-hwa Liang 60c38bde75 Releasing TX/RX descriptor dmamaps during device detachment instead of
doing that in bfe_stop().

This should fix a panic recently reported on -current occuring when taking
device down then up.  In the original implementation, an "ifconfig bfe0 down"
triggers bfe_stop(), which also destroys all TX/RX descriptor dmamaps. Hence
the subsequent "ifconfig bfe0 up" would force the device to use those
already-released dmamap and thus panic the kernel.

PR:		kern/77804
Submitted by:	Frank Mayhar <frank at exit dot com>
Reviewed by:	dmlb, sam (mentor)
Tested by:	Phil <pcasidy at casidy dot com>, myself
MFC after:	1 week
2005-03-17 13:59:30 +00:00
..
2005-03-17 00:43:57 +00:00
2005-03-11 22:07:04 +00:00
2005-03-16 20:48:13 +00:00
2005-03-17 13:37:28 +00:00
2005-02-10 20:39:39 +00:00
2005-03-14 16:04:27 +00:00
2005-03-16 20:42:00 +00:00
2005-03-16 05:27:19 +00:00
2005-03-16 05:11:11 +00:00
2005-03-09 15:28:48 +00:00
2005-02-23 22:44:38 +00:00
2005-03-16 11:28:19 +00:00
2005-03-17 13:37:28 +00:00