summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/grantpt.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-01-02 19:04:35 +0000
committerjake <jake@FreeBSD.org>2003-01-02 19:04:35 +0000
commit3fb777720b34c19463952ad270610dc92de41c8a (patch)
tree46befd3409b78ba2cd92df4c09c9a52a07fa627c /lib/libc/stdlib/grantpt.c
parent8654c9216d77c5d781ff0343624ccf57e9a40e37 (diff)
downloadFreeBSD-src-3fb777720b34c19463952ad270610dc92de41c8a.zip
FreeBSD-src-3fb777720b34c19463952ad270610dc92de41c8a.tar.gz
- 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.
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud