on 03/11/2010 19:11 Kostik Belousov said the following: > On Wed, Nov 03, 2010 at 10:04:13AM -0700, m...@freebsd.org wrote: >> Is there any documentation on best practices for writing a FreeBSD driver? > Not that I am aware of. You can read locking(9) in HEAD to get the answer > on your question about spin mutexes.
BTW, I think that BUS_SETUP_INTR(9) contains the most up to date information on interrupt handling piece of a driver. Unlike e.g. ithread(9). -- Andriy Gapon _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"