From bca0e031b5a4429f50cddea14a935e7bd480f9d0 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 23 Apr 1995 12:41:57 +0000 Subject: Move declarations of console functions to cons.h (they should be config(8)ed). Update other misplaced prototypes. --- sys/dev/sio/sio.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index a8fe84d..0c0bd27 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.94 1995/04/13 15:03:29 wollman Exp $ + * $Id: sio.c,v 1.95 1995/04/15 21:45:16 bde Exp $ */ #include "sio.h" @@ -238,12 +238,13 @@ struct com_s { }; /* - * The public functions in the com module ought to be declared in a com-driver - * system header. + * XXX public functions in drivers should be declared in headers produced + * by `config', not here. */ /* Interrupt handling entry points. */ void siointr __P((int unit)); +void siointrts __P((int unit)); void siopoll __P((void)); /* Device switch entry points. */ @@ -257,18 +258,10 @@ int sioioctl __P((dev_t dev, int cmd, caddr_t data, int fflag, struct proc *p)); void siostop __P((struct tty *tp, int rw)); #define sioreset noreset -int sioselect __P((dev_t dev, int rw, struct proc *p)); +struct tty *siodevtotty __P((dev_t dev)); #define siommap nommap #define siostrategy nostrategy -/* Console device entry points. */ -int siocncheckc __P((dev_t dev)); -int siocngetc __P((dev_t dev)); -struct consdev; -void siocninit __P((struct consdev *cp)); -void siocnprobe __P((struct consdev *cp)); -void siocnputc __P((dev_t dev, int c)); - static int sioattach __P((struct isa_device *dev)); static timeout_t siodtrwakeup; static void comflush __P((struct com_s *com)); -- cgit v1.1