GC SUNKBDDISC & SUNMSDISC line discipline slot definitions. Both are already
entered by ttyldisc_add() calls such that ttyldisc_add chooses the slot anyway. Double checked by Martin.
This commit is contained in:
parent
65c3e91025
commit
a83cf36dd1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sunkbd.c,v 1.20 2005/02/20 22:17:28 heas Exp $ */
|
||||
/* $NetBSD: sunkbd.c,v 1.21 2005/02/21 22:43:07 heas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -51,7 +51,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunkbd.c,v 1.20 2005/02/20 22:17:28 heas Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunkbd.c,v 1.21 2005/02/21 22:43:07 heas Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -100,8 +100,8 @@ CFATTACH_DECL(kbd_tty, sizeof(struct kbd_sun_softc),
|
|||
sunkbd_match, sunkbd_attach, NULL, NULL);
|
||||
|
||||
struct linesw sunkbd_disc =
|
||||
{ "sunkbd", 7, ttylopen, ttylclose, ttyerrio, ttyerrio, ttynullioctl,
|
||||
sunkbdinput, sunkbdstart, nullmodem, ttpoll }; /* 7- SUNKBDDISC */
|
||||
{ "sunkbd", -1, ttylopen, ttylclose, ttyerrio, ttyerrio, ttynullioctl,
|
||||
sunkbdinput, sunkbdstart, nullmodem, ttpoll };
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sunms.c,v 1.17 2003/08/07 16:31:27 agc Exp $ */
|
||||
/* $NetBSD: sunms.c,v 1.18 2005/02/21 22:43:07 heas Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -52,7 +52,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunms.c,v 1.17 2003/08/07 16:31:27 agc Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sunms.c,v 1.18 2005/02/21 22:43:07 heas Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -98,8 +98,8 @@ CFATTACH_DECL(ms_tty, sizeof(struct ms_softc),
|
|||
sunms_match, sunms_attach, NULL, NULL);
|
||||
|
||||
struct linesw sunms_disc =
|
||||
{ "sunms", 8, ttylopen, ttylclose, ttyerrio, ttyerrio, ttynullioctl,
|
||||
sunmsinput, ttstart, nullmodem, ttpoll }; /* 8- SUNMOUSEDISC */
|
||||
{ "sunms", -1, ttylopen, ttylclose, ttyerrio, ttyerrio, ttynullioctl,
|
||||
sunmsinput, ttstart, nullmodem, ttpoll };
|
||||
|
||||
int sunms_enable(void *);
|
||||
int sunms_ioctl(void *, u_long, caddr_t, int, struct proc *);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ttycom.h,v 1.15 2004/11/24 22:17:51 christos Exp $ */
|
||||
/* $NetBSD: ttycom.h,v 1.16 2005/02/21 22:43:07 heas Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1990, 1993, 1994
|
||||
|
@ -159,8 +159,6 @@ typedef char linedn_t[TTLINEDNAMELEN];
|
|||
#define SLIPDISC 4 /* serial IP discipline */
|
||||
#define PPPDISC 5 /* ppp discipline */
|
||||
#define STRIPDISC 6 /* metricom wireless IP discipline */
|
||||
#define SUNKBDDISC 7 /* Sun keyboard discipline */
|
||||
#define SUNMSDISC 8 /* Sun mouse discipline */
|
||||
#define HDLCDISC 9 /* HDLC discipline */
|
||||
#define IRFRAMEDISC 10 /* IrDA frame discipline */
|
||||
|
||||
|
|
Loading…
Reference in New Issue