K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-06-02T19:43:24.680755Z K 7 svn:log V 431 Add locking and make xe(4) MPSAFE: - Add a mutex to protect the softc and device hardware. - Use a callout rather than a callout_handle for the media timer. - Use a dedicated timer for managing the tx watchdog rather than if_timer. - Fix some resource leaks if xe_attach() fails. - Shutdown the device before detaching the driver. - Setup the interrupt handler after ether_ifattach(). Tested by: Ian FREISLICH ianf of clue.co.za END