John Baldwin
2014-Oct-08 18:51 UTC
[PATCH] Lock mse(4): test or the driver will be removed
This patch adds locking to mse(4) and marks it MPSAFE. It also adds some other cleanups such as using bus_*() instead of bus_space_*() and consolidating duplicate copies of its detach routine. The patch is against HEAD but probably applies to 9 and 10 as well. http://people.freebsd.org/~jhb/patches/mse_locking.patch Note that this driver is using a deprecated API that will be removed in 11. If no one tests updates to this driver then it is not feasible to continue maintaining it in the tree. In that case, it will be removed from HEAD one month from today. -- John Baldwin
TAKAHASHI Yoshihiro
2014-Oct-11 13:26 UTC
[PATCH] Lock mse(4): test or the driver will be removed
In article <9831000.NFouVsJ1m1 at ralph.baldwin.cx> John Baldwin <jhb at freebsd.org> writes:> This patch adds locking to mse(4) and marks it MPSAFE. It also adds some > other cleanups such as using bus_*() instead of bus_space_*() and > consolidating duplicate copies of its detach routine. The patch is against > HEAD but probably applies to 9 and 10 as well.I've tested this patch on current/pc98, and it works fine. --- TAKAHASHI Yoshihiro <nyan at FreeBSD.org>