vremap() of non-page-aligned memory

Mikkel Lauritsen (c918531@student.dtu.dk)
Tue, 16 Apr 1996 14:33:52 +0200 (METDST)


I'm working on a driver for an ATM adapter that insists on
having 0x70 bytes of port memory at 0xfffdff80.

Does anybody know whether there is a more elegant way (aka.
another function than vremap()) of mapping this into kernel
memory space? The obvious solution is remapping the physical
page that contains the memory chunk, but that appears to
be a somewhat non-portable solution since it relies on a
preset page size etc.

Any suggestions are much appreciated

Mikkel Lauritsen / c918531@student.dtu.dk