CVS commit: src/sys/arch/sgimips

"Adrian Chadd" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	adrian
Date:		Thu Apr 30 03:12:39 UTC 2026

Modified Files:
	src/sys/arch/sgimips/ioc: ioc.c
	src/sys/arch/sgimips/sgimips: machdep.c

Log Message:
sgimips: early initialisation of mach_subtype for SGI Indy / Indigo2

The mach_subtype field is needed early in boot for dev/int.c (the 8254
in the IO block) and other bits and pieces like GIO bus config.

So set it up super early here.

This allows my Indigo 2 R4400PC-150 to boot - slowly until the int driver
enumerates, but that's separate problem I'll dig into.

I also verified my R5000PC-180 Indy boots with this.

This addresses PR port-sgimips/60205 .


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sgimips/ioc/ioc.c
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/sgimips/sgimips/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.