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.
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- firstname.lastname@example.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