Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 16:16:30 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        current@freebsd.org
Cc:        arm@freebsd.org
Subject:   PATCH: iicbus(4) locking, please test
Message-ID:  <200807251616.30249.jhb@freebsd.org>

next in thread | raw e-mail | index | archive | help
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 Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807251616.30249.jhb>