SGI Indigo 2, machtype and timers
Adrian Chadd <[email protected]> Mon, 20 Apr 2026 17:00:38 -0700
| Newsgroups | gmane.os.netbsd.ports.mips.devel |
|---|---|
| Message-ID | <CAJ-VmonhSiezs3v_mMSEn4-W3C-Qw0Jv+Xh9w4Lq+MT0=_G1oQ@mail.gmail.com> |
hi! now that I have local bits for o2 booting fine (and it runs x11 fine), and indy is fine in trunk, I'm turning to the R4xxx series Indigo 2 machines. There's a lot wrong, but the biggest one is that the PIT driver (sgimips/dev/int.c) thinks its an Indy, not an Indigo2. It's doing this because the mach_subtype for indy/indigo2 is set by sgimips/dev/ioc.c, which attaches MUCH later than int0 does, so things hang. if I force the subtype to indigo2 then all is good. Well, in serial console it's good. For graphics console it .. works, but it's very very slow. I need to go see if that's DELAY() wrong, or something in the grtwo driver that's not poking this GU1-Extreme card correctly. Anyway, I'll file a bug for this soon and then see if I can commit some direct MMIO sins in the sgimips mainbus driver to correctly identify things early. -adrian