Re: Linux 2.4.0-test9 on an AMD ELAN SC520

From: davej@suse.de
Date: Mon Oct 23 2000 - 12:17:19 EST


p2@mind.be (Peter De Schrijver) wrote..

> Does anyone have experience trying to run a 2.4.0-test9 kernel on
> an AMD ELAN SC520 based board ? (More specifically the Microspace
> MSN586SE). It resets a few milliseconds after starting the kernel.

Maybe the A20 stuff that was added in test9.

In 2.2 we do this..

        in al,#0x92 ! read "System Control Port A"
        or al,#0x02 ! Set "Alternate Gate A20" - Bit
        out #0x92,al ! write "System Control Port A"

and in 2.4 this...

        movb $02, %al # "fast A20" version
        outb %al, $0x92 # some chips have only this

So now we clobber all the bits instead of just the one bit that
we need to change. Try changing this code to use the 2.2 method.

regards,

davej.

-- 
| Dave Jones <davej@suse.de>  http://www.suse.de/~davej
| SuSE Labs

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:21 EST