Created attachment 249859 [details] patch macio panics trying to attach a macgpio on my Powermac G5. The attached patch fixes it for me.
Thanks for the report. The patch looks correct, so I'll plan to commit it tonight.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f03a2e7b59d98629bc9a81882ce7ca534bd4f224 commit f03a2e7b59d98629bc9a81882ce7ca534bd4f224 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2024-04-11 01:42:31 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2024-04-11 02:05:38 +0000 macio: Set resource map size PR: 278278 Fixes: af081ec6f7cf ("powerpc: powermac: Use bus_generic_rman_*") sys/powerpc/powermac/macio.c | 1 + 1 file changed, 1 insertion(+)