Subject: Re: Spurious (?) ENXIO problem?
To: None <seebs@solon.com>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 01/30/1997 16:44:52
> Date: Wed, 29 Jan 1997 22:14:10 -0600 (CST)
> From: Peter Seebach <seebs@solon.com>

> Recently, somewhere between 1.2 and -current, my 3/60 has lost the ability
> to use a modem.  Here's the symptoms:

I think I broke this in my recent work on the zs driver.
The patch below is reported to fix this.  Could you please
try it out and let us know if this fixes it?

Thanks,
Gordon

*** sys/arch/sun3/dev/zs.c~	Sat Jan 18 14:45:33 1997
--- sys/arch/sun3/dev/zs.c	Thu Jan 30 16:30:48 1997
***************
*** 509,521 ****
--- 509,524 ----
  	 * status interrupt to detect CTS changes.
  	 */
  	s = splzs();
+ #if 0	/* XXX - See below. */
  	if (cflag & CLOCAL) {
  		cs->cs_rr0_dcd = 0;
  		cs->cs_preg[15] &= ~ZSWR15_DCD_IE;
  	} else {
+ 		/* XXX - Need to notice DCD change here... */
  		cs->cs_rr0_dcd = ZSRR0_DCD;
  		cs->cs_preg[15] |= ZSWR15_DCD_IE;
  	}
+ #endif	/* XXX */
  	if (cflag & CRTSCTS) {
  		cs->cs_wr5_dtr = ZSWR5_DTR;
  		cs->cs_wr5_rts = ZSWR5_RTS;