Hacker News new | ask | show | jobs
by brynet 32 days ago
> I'm pretty sure a MIPS doesn't have them on port 60h/64h, or indeed any I/O ports.

Funnily enough, it does. They're just sitting behind a AMD CS5536 PCI-to-ISA bridge.

https://man.openbsd.org/man4/loongson/glxpcib.4

https://man.openbsd.org/pckbc

...

> glxpcib0 at pci0 dev 14 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer, watchdog, gpio, i2c

> isa0 at glxpcib0

> pckbc0 at isa0 port 0x60/5 irq 1 irq 12

> pckbd0 at pckbc0 (kbd slot)

> wskbd0 at pckbd0: console keyboard, using wsdisplay0

> pms0 at pckbc0 (aux slot)

> wsmouse0 at pms0 mux 0

> mcclock0 at isa0 port 0x70/2: mc146818 or compatible

...

Other machines, such as the DEC Alpha were similar.