add an adaptive polling mode when no interrupt handler is available,
authorjcs <jcs@openbsd.org>
Wed, 29 Nov 2017 02:48:16 +0000 (02:48 +0000)
committerjcs <jcs@openbsd.org>
Wed, 29 Nov 2017 02:48:16 +0000 (02:48 +0000)
commit372bf416d215ee3087b611c177258d4d422eb547
treee747f970d73487aeea028cd0e837a87fa8defdb1
parentc96d1163c738370f447ed64beef8dc40a15ab3d1
add an adaptive polling mode when no interrupt handler is available,
such as on PCI dwiic(4) devices.

this is a temporary workaround until the underlying interrupt
problem is fixed.

tested by various
sys/dev/i2c/ihidev.c
sys/dev/i2c/ihidev.h