Subject: Re: user mapping pci memory
To: Matt Thomas <matt@lkg.dec.com>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: tech-kern
Date: 03/11/1997 16:22:03
Excerpts from netbsd: 11-Mar-97 Re: user mapping pci memory Matt
Thomas@lkg.dec.com (876*)

> I don't believe that is possible.  A 2k PCI BAR *must* start on a 
> 2K boundary because of the BARs work.  There is no possible way for
> it to cross a page boundary. 

I didn't say that it crosses a page boundary. The problem is that
the card is either on a 4k boundary or at n*4k+0x800 and the user
program only gets the (4k-aligned) start address of the page
and not this 2k offset into the page.
Sorry if I didn't express myself clearly enough.

Matthias Drochner