cvs commit: src/sys/arm/at91 at91_twi.c

Warner Losh imp at FreeBSD.org
Wed Nov 29 00:16:00 PST 2006


imp         2006-11-29 08:15:59 UTC

  FreeBSD src repository

  Modified files:
    sys/arm/at91         at91_twi.c 
  Log:
  Make this work a lot better:
          Remove a lot of older cruft not needed.
          Improve ISR support, but it is still unused since polling is faster
          Properly initalize the speed register to get 90kb/s, not 400b/s.
          Try to catch NACK
          Allow 0 length read transfers to generate start/top pairs.
  
  Revision  Changes    Path
  1.7       +44 -36    src/sys/arm/at91/at91_twi.c


More information about the cvs-src mailing list