- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() to access parts of device_t.
- Use device_private() to convert device_t into a softc.
device and softc not split because that will involve venturing outside
sys/arch/acorn26 and I want to get that cleaned up first.
- Use aprint_*() rather than printf().
- Use device_t and cfdata_t rather than explicit pointer types.
- Use device_* to get at parts of device_t.
- Use device_private to convert device_t into ioc_softc *.
Note that I haven't yet separated the softc from the device structure because
this driver will need a little care in doing that.
- Use aprint_*() rather than printf().
- Split device_t from iobus_softc and remove the latter since it's empty.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
This is more flexible than the old acorn26 bus_space, which means that single
read/write operations are slower, but multi and region operations have the
potential to be faster, and particularly insane podules might be supportable.
In theory the acorn32 mainbus and podulebus code ought to be shareable, but
acorn26 needs the extra overhead of saving R14_svc on some operations so
I've made my own version for now. Also the acorn32 bus_spaces are a mess.
matching names. This commit might include some private hacks that have been
lurking in my tree a while. They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.