Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Pegasos and viaide interrupts



Matt Sealey wrote:

>> Digging a bit deeper in the viaide driver showed me that it depends on
>> the
>> PCI_INTERFACE register, whether we are in native or compatible mode.
>> Looking
>> at this register showed me the value 0x8f, which means native mode for
>> both
>> channels (bit 0 and 2).
>> [...]
> 
> I'm afraid you will have to taint yourself with GPL code and look at the
> Pegasos platform fix in the latest kernels for the Via IDE stuff.

I have downloaded the latest Linux sources a few days ago, and it looked to
me as if they just hardcoded interrupt 14 and 15 for Pegasos, and driving it
in compatible (legacy) mode. MorphOS is doing the same, BTW.


> You need
> to do a little tweak or two to get it to work in native mode properly.

So it is meant to work in native mode? That's interesting! Any pointer to the
information we are missing?


> Otherwise, though, the damn thing works fine in legacy mode, just use
> interrupt 15.. you'll find it works really well.

Sure. That's our last option.


> Remember the OF device tree is broken and reports the wrong interrupts

Hm. My firmware (1.2) does not report any interrupts at all.


-- 
    _  Frank Wille (frank%phoenix.owl.de@localhost)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer




Home | Main Index | Thread Index | Old Index