From 35ece2ecb2e2f7669643c42d4157cf499d223dbe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 Feb 2000 15:21:40 +0000 Subject: Patch from Eric Norum based on working with Bob Wisdon and Chris Johns to resolve a random network lockup problem. ckinit.c: Occasional network lockups have been noted when the PIT has a higher interrupt request level than the CPM. The SCC1 bit in the CISR is set even though the SCC1 interrupt handler is not active. This blocks interrupts from SCC1 (and all other CPM sources) and locks up the system. It has not been determined whether the error is within the 68360 or in the RTEMS interrupt support assembler code. The solution, for now, is to set both PIT and CPM interrupt request levels to the same value (4). network.c: Set CPM transmitter buffer pointer (_tbptr) to beginning of frame before restarting transmitter. Don't retire transmitter buffer descriptors belonging to the restarted frame. --- c/src/lib/libbsp/m68k/gen68360/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'c/src/lib/libbsp/m68k/gen68360/README') diff --git a/c/src/lib/libbsp/m68k/gen68360/README b/c/src/lib/libbsp/m68k/gen68360/README index 3902ff7d2e..802e518e70 100644 --- a/c/src/lib/libbsp/m68k/gen68360/README +++ b/c/src/lib/libbsp/m68k/gen68360/README @@ -299,3 +299,17 @@ The board support package has been tested with: Arnewsh Inc. P.O. Box 270352 Fort Collins, CO 80527-0352 + +Interrupt Notes +=============== +ckinit.c: + Occasional network lockups have been noted when the PIT has a higher +interrupt request level than the CPM. The SCC1 bit in the CISR is set +even though the SCC1 interrupt handler is not active. This blocks +interrupts from SCC1 (and all other CPM sources) and locks up the +system. It has not been determined whether the error is within the +68360 or in the RTEMS interrupt support assembler code. The solution, +for now, is to set both PIT and CPM interrupt request levels to the same +value (4). + + -- cgit v1.2.3