[Top] [All Lists]

Re: troubles mmaping PCI device on Au1550

Subject: Re: troubles mmaping PCI device on Au1550
From: Clem Taylor <>
Date: Tue, 12 Apr 2005 16:56:56 -0400
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=EXANG0ewYmVxOUmh9+F2NCgFYdaOBWQVX7p9N5RQSweNNejEpdm+zrTNllh7jk9hakE7VZreU+9Zi02r2kkFs5Brh19DO7VQpabYC2l0mS28sgoU6x/GN7xPpPV4tzK6mfMjeBBMZL0V7JiGz7e1CNPRkkUB8qlca2VNjRB3rFA=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
Reply-to: Clem Taylor <>
On Apr 12, 2005 11:22 AM, Dan Malek <> wrote:
> The Au15xx uses 36-bit addressing for the PCI (among other) physical
> addresses.  The mmap() in your driver is the right thing, but you need
> to use io_remap_page_range() where the 2nd parameter is a phys_t.
> Your offset should be a phys_t type, and pci_resource_start() also
> returns a phys_t.

Yeah, this was exactly my problem. Last night I managed to find the
comment about this in au1000.h. Now I can happily mmap() the PCI
devices memory. Thanks!


<Prev in Thread] Current Thread [Next in Thread>