Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/evbarm/nslu2



Module Name:    src
Committed By:   tsutsui
Date:           Mon Jun  9 15:42:25 UTC 2008

Modified Files:
        src/sys/arch/evbarm/nslu2: nslu2_iic.c

Log Message:
Emulate open collector output more properly to make it work with
reorganized MI i2c_bitbang.c:
- set GPOER register in set_dir function too according to GPOUTR value
- in set_bits function, don't set SDA_BIT implicitly in input mode and
  check current direction to handle GPOER register
- no need to check direction in read_check function because reading SCL
  is valid even if SDA is output

Tested by Donald T Hayford on port-arm.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/evbarm/nslu2/nslu2_iic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index