jhb 6d09ea8400 Fix up the locking in pcn(4) and mark it MPSAFE.
- Add locked versions of the init() and start() methods.
- Use callout_*() rather than timeout().
- Make the driver lock non-recursive.
- Push down locking in detach() and ioctl().
- Fix the tick routine to bail if the interface has been stopped and use
  callout_drain() in detach() after the call to stop().
- Lock the driver lock in the ifmedia handlers.

Tested by:	Ketrien I. Saihr-Kesenchedra ketrien at error404.nls.net
MFC after:	1 week
2005-08-05 16:03:16 +00:00
..
2005-03-11 22:07:04 +00:00
2005-03-28 18:31:18 +00:00
2005-07-09 18:30:31 +00:00
2005-08-02 20:06:48 +00:00
2005-07-30 20:10:31 +00:00
2005-07-21 11:13:12 +00:00