Kmod driver at iicbus. attach() and config_intrhook(9)

Andriy Gapon avg at FreeBSD.org
Thu Sep 3 07:30:04 UTC 2020


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


More information about the freebsd-arm mailing list