Date: Thu, 3 Sep 2020 10:29:59 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-arm@freebsd.org Subject: Re: Kmod driver at iicbus. attach() and config_intrhook(9) Message-ID: <7498213a-28d8-f20c-35ae-97aaf2796c1e@FreeBSD.org> In-Reply-To: <20200901221839.GY4213@funkthat.com> References: <0496ebc5628a015c005c150549e1e70a@mh.net.ru> <20200901221839.GY4213@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/09/2020 01:18, John-Mark Gurney wrote: > So my reading of the twsi driver is that it handles things correctly > allowing devices pre-interrupts to attach, and using interrupts for > transfers post-cold. I just want to note that twsi uses _completely_ different code for polled and interrupt modes. So, while either mode should be active at correct times, I cannot certify that the polled mode works correctly for all transfer types. I haven't reviewed the polled mode code. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7498213a-28d8-f20c-35ae-97aaf2796c1e>