linux-mips
[Top] [All Lists]

Nile 4 (was: Re: [PATCH 2.4] ndelay typo?)

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Nile 4 (was: Re: [PATCH 2.4] ndelay typo?)
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Wed, 9 Jul 2003 09:58:08 +0200 (MEST)
Cc: Brian Murphy <brm@murphy.dk>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <20030705225445.GA26533@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Sun, 6 Jul 2003, Ralf Baechle wrote:
> On Sat, Jul 05, 2003 at 11:16:49PM +0200, Geert Uytterhoeven wrote:
> > > I'm wondering about the Nile4 support btw.   Vrc5074 == NILE4, right?
> > 
> > Yep.
> 
> Well, I was wondering because the code in arch/mips/pci/ops-nile4.c which
> was extraced from the lasat code is completly different from
> ddb5xxx/ddb5074/pci_ops.c, so it's hard to extract the commonc code into
> a shared file.

If you know the chip, they are actually quite similar :-)

The differences between the Lasat and the DDB code are these:
  - The Lasat code checks the PCI error registers to detect the presence of PCI
    devices, while the DDB code doesn't,
  - The Lasat code is limited to 8 PCI devices on bus 0, while the DDB code
    uses a different access scheme to access the extra devices,
  - The DDB code uses abstraction functions to access the Nile 4 registers,
    while the Lasat code accesses the registers directly.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds


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