I have a first attempt at adding locking to iicbus(4). Originally my goal was to do this so if_ic(4) could be locked. However, if_ic(4) does evil things in its ioctl routine so I'm actually going to leave that alone unless someone says they want to test possible changes. Back to iicbus(4), this patch adds locking to the core of iicbus and the various related drivers. A few drivers (ixp_iic, lpbb, and bktr) just use Giant for their driver lock for now. It has been compiled on my laptop (i386) but not anything else yet. http://www.FreeBSD.org/~jhb/patches/iicbus.patch -- John BaldwinReceived on Fri Jul 25 2008 - 18:16:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC