PDP10, PDP11, VAX: Revert effort to Avoid returning "Line Unit" test failed after DMC/DMR master clear if a line is not attached. To be addressed more thoroughly later.

This commit is contained in:
Mark Pizzolato 2014-05-26 05:32:38 -07:00
parent 340e7eb40b
commit 709016c356

View file

@ -2309,6 +2309,7 @@ while ((control = controller->control_out)) {
controller->control_out = NULL;
dmc_setreg(controller, 0, 0, DBG_RGC);
if (controller->dev_type == DMR) {
if (dmc_is_attached(controller->unit)) {
/* Indicates microdiagnostics complete */
if (((*controller->csrs->sel0 & DMC_SEL0_M_UDIAG) != 0) ^
(dmc_microdiag[controller->index]))
@ -2316,6 +2317,11 @@ if (controller->dev_type == DMR) {
else
dmc_setreg(controller, 2, 0x4000, DBG_RGC); /* Microdiagnostics Inhibited */
}
else {
/* Indicate M8203 (Line Unit) test failed */
dmc_setreg(controller, 2, 0x0200, DBG_RGC);
}
}
else {
/* preserve contents of BSEL3 if DMC-11 */
dmc_setreg(controller, 2, *controller->csrs->sel2 & 0xFF00, DBG_RGC);