Ah, I see, you want to get rid of moxaload altogether ...
I'll test your patch series as soon as I get a chance - need to put a
MOXA card into a non-production machine first, so it'll be a few days.
We have a few MOXA Intellio C320 Turbo PCI[...]
cards, here's lspci -vvxxx for one of them:
02:02.0 Serial controller: Moxa Technologies Co Ltd Intellio C320 Turbo PCI (rev 02) (prog-if 80)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 16
Region 1: I/O ports at 9400 [size=128]
Region 2: Memory at fb200000 (32-bit, non-prefetchable) [size=16K]
The other cards looks identical, except for unimportant differences
in region mapping and IRQ allocation due to system differences.