CVS commit: src/sys/arch

"Andrius Varanavicius" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	andvar
Date:		Sun Aug  9 22:21:41 UTC 2026

Modified Files:
	src/sys/arch/evbmips/ingenic: mainbus.c
	src/sys/arch/mips/ingenic: apbus.c

Log Message:
Replace MFC0 macro with CP0 accessor functions in debug code.
Include ingenic_var.h in ingenic/mainbus.c when INGENIC_DEBUG is enabled and
move "opt_ingenic.h" higher so this option is visible for the include.

MFC0 macro was removed in ingenic_regs.h v1.25, but debug code was not adopted.

Fixes INGENIC_DEBUG enabled build for the evbmips CI20 kernel config.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/ingenic/mainbus.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mips/ingenic/apbus.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.