Date: Mon, 2 Jun 2008 19:43:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/xe if_xe.c if_xe_pccard.c if_xevar.h Message-ID: <200806021943.m52JhfFm099464@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-06-02 19:43:41 UTC FreeBSD src repository Modified files: sys/dev/xe if_xe.c if_xe_pccard.c if_xevar.h Log: SVN rev 179492 on 2008-06-02 19:43:24Z by jhb 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 Revision Changes Path 1.65 +89 -69 src/sys/dev/xe/if_xe.c 1.33 +7 -3 src/sys/dev/xe/if_xe_pccard.c 1.7 +8 -1 src/sys/dev/xe/if_xevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806021943.m52JhfFm099464>