git: kernel - Reduce ig4 receive errors

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 15 10:26:31 PDT 2014


commit ffcfd82d02034a17cb4c9a62369e77682cdba2ef
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 15 10:05:21 2014 -0700

    kernel - Reduce ig4 receive errors
    
    * The timeout code now checks the FIFO and register status at least once
      before testing whether the timeout has been exceeded, and at least once
      more after waiting the timeout period.
    
      Previously the code would check, see that no data was present, then delay
      a little and check whether a timeout occurred after the delay without
      again testing whether data is present.
    
    * Appears to fix receive timeouts reported by cyapa and atmel_mxt.

Summary of changes:
 sys/bus/smbus/ichiic/ig4_iic.c | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ffcfd82d02034a17cb4c9a62369e77682cdba2ef


-- 
DragonFly BSD source repository



More information about the Commits mailing list