I just made a device that controls the enumeration of the rest of devices in a straight forward way, for the alternative CPUs.
https://gist.github.com/Zardoz89/685393 ... merator-md
Also, I add jumpers thing to it. In the old days, a computer could have device fighting to use the same hardware resource (IRQs, memory addresses, etc..). The devices had hardware jumper pins to allow to set what resources will be used by the device and avoid clash between devices, in special if you had duplicate devices. It was very typical in the sound blaster cards, had a jumper to change what IRQ/ADDR/DMA will be used. I add a way to do the same thing, but from the software side, so allow to do some kind of Plug&Play support by the OS in a universal way.