summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
76a1d9e)
SCCS-vsn: sys/vax/uba/uba.c 4.35
-/* uba.c 4.34 81/07/08 */
+/* uba.c 4.35 81/07/22 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
+int ubawedgecnt = 10;
+int ubacrazy = 500;
/*
* This routine is called by the locore code to
* process a UBA error on an 11/780. The arguments are passed
/*
* This routine is called by the locore code to
* process a UBA error on an 11/780. The arguments are passed
splx(s);
uba->uba_sr = sr;
uvec &= UBABRRVR_DIV;
splx(s);
uba->uba_sr = sr;
uvec &= UBABRRVR_DIV;
+ if (++uh->uh_errcnt % ubawedgecnt == 0) {
+ if (uh->uh_errcnt > ubacrazy)
+ panic("uba crazy");
+ printf("ERROR LIMIT ");
+ ubareset(uban);
+ uvec = 0;
+ return;
+ }