Subject: Re: user mapping pci memory
To: Matt Thomas <firstname.lastname@example.org>
From: Matthias Drochner <email@example.com>
Date: 03/11/1997 16:22:03
Excerpts from netbsd: 11-Mar-97 Re: user mapping pci memory Matt
> 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.