Date: Wed, 10 Aug 2005 20:12:25 +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/hme if_hme.c Message-ID: <200508102012.j7AKCPQv058243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-08-10 20:12:25 UTC FreeBSD src repository Modified files: sys/dev/hme if_hme.c Log: - Use callout_init_mtx() to close races between hme_stop() and hme_tick(). - Use the driver lock instead of Giant in a bus dma callback. - Clear IFF_DRV_(RUNNING|OACTIVE) in hme_stop() instead of just clearing RUNNING in hme_ioctl() to be more like other ethernet drivers. - Lock the driver lock around mii operations. - Remove spls. - Cleanup locking in hme_ioctl(). MFC after: 1 week Revision Changes Path 1.40 +22 -57 src/sys/dev/hme/if_hme.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508102012.j7AKCPQv058243>