diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2008-06-09 15:42:25 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2008-06-09 15:42:25 +0000 |
| commit | bdb59915496a351bf0bda3774c14b50fb6dac181 (patch) | |
| tree | d8ae81e77f2c0ecef80edde5fa4f28f7e7aadac9 /sys/dev/raidframe/files.raidframe | |
| parent | da0a41c29477369e920f17454fdc31e7bda4887a (diff) | |
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.
Diffstat (limited to 'sys/dev/raidframe/files.raidframe')
0 files changed, 0 insertions, 0 deletions
