Source-Changes archive

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

CVS commit: src/sys/arch/evbppc




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/sys/arch/evbppc

From: "Jared D. McNeill" <jmcneill%netbsd.org@localhost>

Date: Sun, 1 Feb 2026 12:09:40 +0000


Module Name:    src
Committed By:   jmcneill
Date:           Sun Feb  1 12:09:40 UTC 2026

Modified Files:
        src/sys/arch/evbppc/include: wiiu.h
        src/sys/arch/evbppc/nintendo: mainbus.c
        src/sys/arch/evbppc/nintendo/dev: wiiufb.c

Log Message:
wiiufb: Only use indirect register access during early boot

The current implementation relies on all register accesses being done 1)
before interrupts are enabled and secondaries have been started, or 2)
with KERNEL_LOCK held.

This change makes the driver switch from indirect accesses via the
Latte block to direct accesses through the GX frame at 0xc2000000 once
the FB driver attaches, removing the need for all register accesses to be
serialized.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbppc/include/wiiu.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbppc/nintendo/mainbus.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/nintendo/dev/wiiufb.c

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/sys/arch/sparc64/conf

Previous by Thread: CVS commit: src/sys/arch/sparc64/conf

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index