ariff 5f934f2781 Misc. fixups:
- [1] Make the driver friendly towards kernel without PREEMPTION.
  Use msleep(9) instead of simple unlock-check_variable-lock mechanisme
  since the later not really effective in non-preemptible kernel
  (especially during codec detection routine).
- Free most driver resources in a sane manner to avoid possible
  double free and panics especially during device detach and codec
  detection failure.

MFC after:	3 days

[1] http://lists.freebsd.org/pipermail/freebsd-questions/2006-March/116515.html
2006-03-22 21:29:47 +00:00
..
2005-12-28 21:18:55 +00:00
2006-02-21 03:16:58 +00:00
2005-12-04 02:12:43 +00:00
2006-03-18 13:14:38 +00:00
2006-03-17 09:17:36 +00:00
2005-12-17 07:09:17 +00:00
2005-05-10 12:02:18 +00:00
2005-12-04 02:12:43 +00:00
2006-02-24 02:03:35 +00:00
2006-03-01 07:24:39 +00:00
2006-03-03 07:04:43 +00:00
2005-11-12 19:14:21 +00:00
2005-05-19 21:16:50 +00:00
2005-02-27 22:01:09 +00:00
2006-02-22 21:47:04 +00:00
2006-02-24 02:06:57 +00:00
2006-03-21 21:15:43 +00:00
2005-12-20 21:41:52 +00:00
2006-03-22 21:29:47 +00:00
2005-09-21 22:45:14 +00:00