git: ig4 - We actually need to set the Rx threshold register one smaller.

2018-08-18 Thread Imre Vadasz
commit 02f0bf2a2a28ad502f5568df747bcb10ed1315a9 Author: Imre Vadász Date: Sat Aug 18 18:41:47 2018 +0200 ig4 - We actually need to set the Rx threshold register one smaller. * Setting the IG4_REG_RX_TL register to 1 was actually generating an interrupt after 2 bytes were a

git: ig4 - Stop I2C controller after checking that it's kind of functional.

2018-08-18 Thread Imre Vadasz
commit 0b3eedb01d28925fed4a60d5732a8e566d65d93b Author: Imre Vadász Date: Sat Aug 18 18:42:55 2018 +0200 ig4 - Stop I2C controller after checking that it's kind of functional. Summary of changes: sys/bus/smbus/ichiic/ig4_iic.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-)

git: ig4 - Only enable interrupts when we want them. Otherwise keep mask at 0.

2018-08-18 Thread Imre Vadasz
commit d7c855546f690f05cd952ead7f4f09313a428240 Author: Imre Vadász Date: Sat Aug 18 12:58:40 2018 +0200 ig4 - Only enable interrupts when we want them. Otherwise keep mask at 0. * This avoids possible interrupt storms, depending on the state of the I2C controller before t

git: ig4 - Use serializer instead of lockmgr lock.

2018-08-18 Thread Imre Vadasz
commit ab1e5d7f1c9718cc7eb60cdc9299231cb9933a04 Author: Imre Vadász Date: Sat Aug 18 12:49:40 2018 +0200 ig4 - Use serializer instead of lockmgr lock. * This allows us to use lwkt_serialize_handler_disable when stopping the interrupt, which should be safer in case of detac