On 09/14/2011 10:58 AM, Jan Kiszka wrote: >> It would also be used when we split an ISA portio region, as >> with the FDC device. There, we have 7 ports in 2 chunks. The >> offset would still be needed to convert the relative offset of >> the second chuck to be relative to the "real" un-split region. > > That sounds a lot like it only affects the flattened representation, and > there an offset does make sense. But we are discussing the original > memory regions here that should not require it (provided the above > cleanup is applicable).
These *are* the original memory regions, not something flattened. The legacy isa port numbers for FDC and IDE are, sadly, interleaved. >> Feel free to convert all of these devices to a more "native" use >> of the memory api, but I warn you it won't be trivial. > > Do you mean VGA and GUS or FDC? VGA and GUS are non-trivial. FDC would be fairly easy. r~