Date: Wed, 08 Oct 2014 14:52:29 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Subject: [PATCH] Fix callouts in rp(4): test or the driver will be removed Message-ID: <2183726.56eTCFgtJQ@ralph.baldwin.cx>
next in thread | raw e-mail | index | archive | help
This patch converts rp(4) from timeout(9) to callout(9). To do this cleanly, it replaces a single, global timer that walks tables of controllers and ports to a per-controller timer. This works much better with locking (since the locks are per-controller) and removes the need for various global lookup tables in the driver. The patch is against HEAD but probably applies to 9 and 10 as well. http://people.freebsd.org/~jhb/patches/rp_callout.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2183726.56eTCFgtJQ>