summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-23 12:41:57 +0000
committerbde <bde@FreeBSD.org>1995-04-23 12:41:57 +0000
commitbca0e031b5a4429f50cddea14a935e7bd480f9d0 (patch)
tree1c3b0c77ffc70cb78702dd827408053d57c8fde4 /sys/dev
parent14625e5bf4ae7cd68f1d5a683182e076a4f4b5f7 (diff)
downloadFreeBSD-src-bca0e031b5a4429f50cddea14a935e7bd480f9d0.zip
FreeBSD-src-bca0e031b5a4429f50cddea14a935e7bd480f9d0.tar.gz
Move declarations of console functions to cons.h (they should be
config(8)ed). Update other misplaced prototypes.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sio/sio.c17
1 files changed, 5 insertions, 12 deletions
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));
OpenPOWER on IntegriCloud