NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60428 CVS commit: [netbsd-11] src/sys/arch/sparc64/sparc64
The following reply was made to PR port-sparc64/60428; it has been noted by GNATS.
From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60428 CVS commit: [netbsd-11] src/sys/arch/sparc64/sparc64
Date: Fri, 18 Sep 2026 15:27:32 +0000
Module Name: src
Committed By: martin
Date: Fri Sep 18 15:27:32 UTC 2026
Modified Files:
src/sys/arch/sparc64/sparc64 [netbsd-11]: autoconf.c ofw_patch.c
ofw_patch.h
Log Message:
Pull up following revision(s) (requested by jdc in ticket #465):
sys/arch/sparc64/sparc64/autoconf.c: revision 1.248
sys/arch/sparc64/sparc64/autoconf.c: revision 1.249
sys/arch/sparc64/sparc64/ofw_patch.c: revision 1.11
sys/arch/sparc64/sparc64/ofw_patch.h: revision 1.6
sys/arch/sparc64/sparc64/autoconf.c: revision 1.250
sys/arch/sparc64/sparc64/autoconf.c: revision 1.251
sys/arch/sparc64/sparc64/autoconf.c: revision 1.252
- all via patch
Fix up PROM's where reg is encoded as a 64-bit and a 32-bit value
(e.g. 00000400 0fc62020 00000010), but we want 2 x 64-bit values.
U45 with OBP 4.21.2 has jbus-i2c configured like this.
fix the build.
More corrections...
I was also looking at the build breakage fixed by the previous commit.
I found another issue (non-build breaking) though:
Free the results from prom_getprop() in the newly added code, if a
subsequent malloc() fails (don't lose memory).
Also properly indent a line whose preceding condition shifted right
(existing code from previously, now not always executed).
Feel free to redo these changes some other (non build-breaking) way.
Add OFW patches for U45.
Add OFW patches for U45 (missed in previous).
PR port-sparc64/60428
Just return instead of asserting that devhandle is DEVHANDLE_TYPE_OF.
This happens for USB disks (sd @ scsibus @ umass @ @ uhub @ usb) which
are not enumerated by the firmware.
Original patch from riastradh@ .
Apply the same for wd and fc-al as well.
To generate a diff of this commit:
cvs rdiff -u -r1.243.2.1 -r1.243.2.2 src/sys/arch/sparc64/sparc64/autoconf.c
cvs rdiff -u -r1.7.26.1 -r1.7.26.2 src/sys/arch/sparc64/sparc64/ofw_patch.c
cvs rdiff -u -r1.4.28.1 -r1.4.28.2 src/sys/arch/sparc64/sparc64/ofw_patch.h
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