Re: Does io_remap_page_range() take 5 or 6 args?

From: David S. Miller
Date: Wed Aug 18 2004 - 15:57:57 EST


On Wed, 18 Aug 2004 13:33:48 -0700
Paul Jackson <pj@xxxxxxx> wrote:

> Does anyone know the story behind this odd inconsistency?

Each platform needs different args, unfortunately.

Sparc needs the extra arg because the device space is described
with a base 32-bit address, then an upper 32-bit base to form
the full 64-bit address. This upper 32-bit part is called the
"io_space" and thus is what gets passed into that 6-th argument.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/