Re: mmap() of PCI space in device driver

Jeff Garzik (jgarzik@pobox.com)
Fri, 18 Jun 1999 13:39:44 -0400 (EDT)


On Fri, 18 Jun 1999, Scott C. Karlin wrote:
> The PCI device I have decodes a single 16MB memory space. I need
> to be able to map this space into the user space so that users can
> access it through pointers. The old driver supports both Intel
> and Alpha architectures; the new driver must support both as well.

The framebuffer subsystem (drivers/video/*) does this -- on-card
framebuffer memory is presented to userland as one big mmap'able memory
region.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/