Legacy ISA registers/interrupts in PCI device tree node

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Jul 17 07:35:05 EST 2007


On Mon, 2007-07-16 at 09:59 +0100, Matt Sealey wrote:
> You could do a LOT worse than check the Pegasos.

Yes, mimmicing the pegasos will probably work

> Matt Sealey <matt at genesi-usa.com>
> Genesi, Manager, Developer Relations
> 
> Gerhard Pircher wrote:
> > Hi,
> > 
> > I wonder, if there is a recommended way to specify ISA register
> addresses
> > and interrupts for a PCI device (unlike for a PCI2ISA bridge)?
> > The device in question is the integrated IDE controller of the
> VIA686B
> > southbridge, which works in compatible/legacy mode and thus uses
> interrupts
> > 14 and 15 of the i8259 PIC. Should the fdt contain this information
> or
> > should I hardcode the values in the platform setup code?

You may need a fixup like pegasos does because that chip seems to use
14/15 even when in native mode, which is somewhat out of spec.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list