linux-mips
[Top] [All Lists]

Re: [PATCH]PCI on SWARM

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH]PCI on SWARM
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Thu, 14 Oct 2004 23:14:15 +0100 (BST)
Cc: Manish Lachwani <mlachwani@mvista.com>, linux-mips@linux-mips.org
In-reply-to: <20041014191754.GB30516@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <416DE31E.90509@mvista.com> <20041014191754.GB30516@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 14 Oct 2004, Ralf Baechle wrote:

> > This small patch is required to get PCI working on the Broadcom SWARM 
> > board in 2.6. Without this patch, the PCI bus scan is skipped due to 
> > resource conflict. Tested using the E100 network card
> 
> > -       ioport_resource.end = 0x0000ffff;       /* 32MB reserved by 
> > sb1250 */
> > +       ioport_resource.end = 0xffffffff;       /* 32MB reserved by 
> > sb1250 */
> 
> I'm too lazy to dig up the actual numbers from the BCM1250 manuals but
> it definately does not have 4GB of port address space.

 The doc states low 25 bits are used for I/O addressing, matching the
comment above (surprise!, surprise!), so I guess the constant sought for
the bit mask above is 0x01ffffff.  If that turns out to work, I can apply
an update (can I, Ralf?).

  Maciej

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