Subject: Re: dc driver hangs 5000/200 on boot
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Michael L. Hitch <osymh@lightning.oscs.montana.edu>
List: port-pmax
Date: 06/12/1996 20:40:07
On Jun 12,  5:38pm, Jonathan Stone wrote:
} 
} The dc driver in 1.2-Alpha (as of June 12) repeatably hangs a 5000/200
} here, and has done since approximately June 5.  (or perhaps earlier,
} June 5 was the first time in a while I'd rebooted that machine,
} and it's been wedged from then until today)
} 
} The machine hangs immediately after printing
}    adding dc0 subslot 0 offset 2000000
} 
} and sits there until the reset button is pressed.

  Argh!  Try this change and let me know if it works.

Michael


*** /c/src/sys/arch/pmax/dev/dc.c	Thu May 30 05:40:16 1996
--- dc.c	Wed Jun 12 20:37:13 1996
***************
*** 214,225 ****
  	static int nunits = 0;
  
  #if NTC>0
! 	if (parent->dv_cfdata->cf_driver != &mainbus_cd &&
! 	    strcmp(d->iada_modname, "dc") != 0 &&
! 	    strcmp(d->iada_modname, "mdc") != 0 &&
! 	    strcmp(d->iada_modname, "dc7085") != 0)
! 		return (0);
! 	else
  #endif
  	if (strcmp(ca->ca_name, "dc") != 0 &&
  	    strcmp(ca->ca_name, "mdc") != 0 &&
--- 214,225 ----
  	static int nunits = 0;
  
  #if NTC>0
! 	if (parent->dv_cfdata->cf_driver != &mainbus_cd) {
! 		if (strcmp(d->iada_modname, "dc") != 0 &&
! 		    strcmp(d->iada_modname, "mdc") != 0 &&
! 		    strcmp(d->iada_modname, "dc7085") != 0)
! 			return (0);
! 	} else
  #endif
  	if (strcmp(ca->ca_name, "dc") != 0 &&
  	    strcmp(ca->ca_name, "mdc") != 0 &&