Date: Thu, 2 Jan 2003 11:04:35 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/zs zs.c Message-ID: <200301021904.h02J4Z1W084332@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Revision Changes Path
1.2 +37 -9 src/sys/dev/zs/zs.c
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?200301021904.h02J4Z1W084332>
