On Wed, 17 Jul 2002, Karsten Merker wrote:
> it looks like the current oss.sgi.com 2.4 cvs (currently 2.4.19-rc1) is
> broken on DECstations. The kernel boots on a DS 5000/150, but using
> the onboard LANCE does not work. Using ifconfig gives a "SIOCSIFLAGS:
> Resource temporarily not available and the kernel tells "lance: Can't get
> DMA IRQ 24".
Thanks for the report. It's a stupid bug in the KN02BA IRQ routing
table. I'm committing the following fix to the CVS.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
patch-mips-2.4.19-rc1-20020717-lance-merr-0
diff -up --recursive --new-file
linux-mips-2.4.19-rc1-20020717.macro/arch/mips/dec/setup.c
linux-mips-2.4.19-rc1-20020717/arch/mips/dec/setup.c
--- linux-mips-2.4.19-rc1-20020717.macro/arch/mips/dec/setup.c 2002-06-27
02:57:18.000000000 +0000
+++ linux-mips-2.4.19-rc1-20020717/arch/mips/dec/setup.c 2002-07-18
09:21:42.000000000 +0000
@@ -426,7 +426,7 @@ static int kn02ba_interrupt[DEC_NR_INTS]
[DEC_IRQ_TC2] = DEC_CPU_IRQ_NR(KN02BA_CPU_INR_TC2),
[DEC_IRQ_TIMER] = -1,
[DEC_IRQ_VIDEO] = -1,
- [DEC_IRQ_ASC_MERR] = IO_IRQ_NR(IO_INR_LANCE_MERR),
+ [DEC_IRQ_ASC_MERR] = IO_IRQ_NR(IO_INR_ASC_MERR),
[DEC_IRQ_ASC_ERR] = IO_IRQ_NR(IO_INR_ASC_ERR),
[DEC_IRQ_ASC_DMA] = IO_IRQ_NR(IO_INR_ASC_DMA),
[DEC_IRQ_FLOPPY_ERR] = -1,
|