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

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Aug 18 11:29:46 PDT 2018


commit 02f0bf2a2a28ad502f5568df747bcb10ed1315a9
Author: Imre Vadász <imre at vdsz.com>
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 available in the Rx fifo. We need to set the
      register to 0 to get an interrupt for 1 byte already.

Summary of changes:
 sys/bus/smbus/ichiic/ig4_iic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/02f0bf2a2a28ad502f5568df747bcb10ed1315a9


-- 
DragonFly BSD source repository


More information about the Commits mailing list