Module Name: src
Committed By: jdc
Date: Sun Feb 1 10:50:23 UTC 2026
Modified Files:
src/sys/arch/sparc64/dev: pcfiic_ebus.c
src/sys/dev/ic: pcf8584.c pcf8584var.h
Log Message:
When reading from an i2c device register, use repeat start on the bus.
This avoids the situation where another master gets the bus between our
register select (i.e. write) and the following read.
Add a delay after accessing our registers for the PIC implementation
of the PCF8584 (e.g. on the Sun Ultra 45).
Change swapregs to flags to handle multiple quirks and set the flags
appropriately in the Ebus frontend.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc64/dev/pcfiic_ebus.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ic/pcf8584.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/pcf8584var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.