Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 13:29:02 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/zs zs.c
Message-ID:  <20030103132902.A81594@locore.ca>
In-Reply-To: <1041592331.1584.0.camel@builder02.qubesoft.com>; from dfr@nlsystems.com on Fri, Jan 03, 2003 at 11:12:12AM %2B0000
References:  <200301021904.h02J4Z1W084332@repoman.freebsd.org> <1041592331.1584.0.camel@builder02.qubesoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Fri, Jan 03, 2003 at 11:12:12AM +0000,
	Doug Rabson said words to the effect of;

> On Thu, 2003-01-02 at 19:04, Jake Burkholder wrote:
> > jake        2003/01/02 11:04:35 PST
> > 
> >   Modified files:
> >     sys/dev/zs           zs.c 
> >   Log:
> >   - This damnable chip only has 1 status register for both ports, so the bit
> >     positions for the status bits of port a and port b are different.  To
> >     avoid needing to know which channel the interrupt handler is working on,
> >     shift the status bits for port a into the port b bit positions, and always
> >     check the port b status bits.  This fixes using port b, which I neglected
> >     to test before.
> >   - Remember to update the channel's tty structure from the passed in termios
> >     in the param routine.
> >   - Minor style.
> 
> I wonder how much effort it would take to make the alpha zs driver (used
> for console on some AlphaServers work for both alpha and sparc64.

Oh.  I didn't even realize that was there, its not in the hardware list.

From the looks of it more work than the netbsd driver :).  Does it use
interrupts?  Actually the netbsd driver outdates it, I'm surprised you
didn't use it in the first place..

Jake

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030103132902.A81594>