diff options
author | pst <pst@FreeBSD.org> | 1995-02-28 00:21:11 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1995-02-28 00:21:11 +0000 |
commit | 9b98fb36dc05ba21e4898c983c58bc0eb8f669b4 (patch) | |
tree | 91c6a33544eb4628383ab7c05b8571d00b6f35d3 /sys/isa/sio.c | |
parent | 2b514bef5110bbe670f032770ac8769b1f371b4c (diff) | |
download | FreeBSD-src-9b98fb36dc05ba21e4898c983c58bc0eb8f669b4.zip FreeBSD-src-9b98fb36dc05ba21e4898c983c58bc0eb8f669b4.tar.gz |
Incorporate bde's code-review comments.
(a) bring back ttselect, now that we have xxxdevtotty() it isn't dangerous.
(b) remove all of the wrappers that have been replaced by ttselect
(c) fix formatting in syscons.c and definition in syscons.h
(d) add cxdevtotty
NOT DONE:
(e) make pcvt work... it was already broken...when someone fixes pcvt to
link properly, just rename get_pccons to xxxdevtotty and we're done
Diffstat (limited to 'sys/isa/sio.c')
-rw-r--r-- | sys/isa/sio.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 1930bb9..e5115e8 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.67 1995/02/25 20:09:14 pst Exp $ + * $Id: sio.c,v 1.68 1995/02/26 02:30:18 bde Exp $ */ #include "sio.h" @@ -1840,15 +1840,6 @@ siodevtotty(dev) return (&sio_tty[unit]); } -int -sioselect(dev, rw, p) - dev_t dev; - int rw; - struct proc *p; -{ - return (ttyselect(siodevtotty(dev), rw, p)); -} - static void commctl(com, bits, how) struct com_s *com; |