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:
parent
340e7eb40b
commit
709016c356
1 changed files with 12 additions and 6 deletions
|
@ -2309,6 +2309,7 @@ while ((control = controller->control_out)) {
|
||||||
controller->control_out = NULL;
|
controller->control_out = NULL;
|
||||||
dmc_setreg(controller, 0, 0, DBG_RGC);
|
dmc_setreg(controller, 0, 0, DBG_RGC);
|
||||||
if (controller->dev_type == DMR) {
|
if (controller->dev_type == DMR) {
|
||||||
|
if (dmc_is_attached(controller->unit)) {
|
||||||
/* Indicates microdiagnostics complete */
|
/* Indicates microdiagnostics complete */
|
||||||
if (((*controller->csrs->sel0 & DMC_SEL0_M_UDIAG) != 0) ^
|
if (((*controller->csrs->sel0 & DMC_SEL0_M_UDIAG) != 0) ^
|
||||||
(dmc_microdiag[controller->index]))
|
(dmc_microdiag[controller->index]))
|
||||||
|
@ -2316,6 +2317,11 @@ if (controller->dev_type == DMR) {
|
||||||
else
|
else
|
||||||
dmc_setreg(controller, 2, 0x4000, DBG_RGC); /* Microdiagnostics Inhibited */
|
dmc_setreg(controller, 2, 0x4000, DBG_RGC); /* Microdiagnostics Inhibited */
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
/* Indicate M8203 (Line Unit) test failed */
|
||||||
|
dmc_setreg(controller, 2, 0x0200, DBG_RGC);
|
||||||
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
/* preserve contents of BSEL3 if DMC-11 */
|
/* preserve contents of BSEL3 if DMC-11 */
|
||||||
dmc_setreg(controller, 2, *controller->csrs->sel2 & 0xFF00, DBG_RGC);
|
dmc_setreg(controller, 2, *controller->csrs->sel2 & 0xFF00, DBG_RGC);
|
||||||
|
|
Loading…
Add table
Reference in a new issue