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:   scw
Date:           Sat Apr 19 20:49:32 UTC 2008

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

Log Message:
Adapt to the recent i2c_bitbang changes, which provide more hints as to
the SDA/SCL pin direction, by treating the direction as just that; a hint.

Instead, configure the SDA/SCL pins as outputs only when they are to
be driven low (zero). Otherwise configure them as inputs and allow the
pull-up resistors to do their jobs.

Check the SDA direction hint only if DIAGNOSTIC.

Fixes a problem reported by Donald T Hayford on port-arm@ whereby the
kernel failed to read/write the RTC's registers.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 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