Source-Changes archive

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

CVS commit: src/sys




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys

From: "Julian Coleman" <jdc%netbsd.org@localhost>

Date: Sun, 1 Feb 2026 10:50:23 +0000


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.






Prev by Date: CVS commit: src/doc

Next by Date: CVS commit: src/sys/dev/i2c

Previous by Thread: CVS commit: src/doc

Next by Thread: CVS commit: src/sys/dev/i2c

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index