summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-11-20 12:13:32 +0000
committerphk <phk@FreeBSD.org>1995-11-20 12:13:32 +0000
commit220a07c995cbcce258701e53a81d9372ec599d16 (patch)
tree9739fd8983ca0a1a41e80869dfb8013788acecbf /sys/dev/sio
parent4cf530b9304efd7da6b2ef1a5718bf8df5a33491 (diff)
downloadFreeBSD-src-220a07c995cbcce258701e53a81d9372ec599d16.zip
FreeBSD-src-220a07c995cbcce258701e53a81d9372ec599d16.tar.gz
Fix compiler warnings.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c41
1 files changed, 20 insertions, 21 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 2337ea3..05c2d60 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.116 1995/11/04 13:23:43 bde Exp $
+ * $Id: sio.c,v 1.117 1995/11/04 17:07:50 bde Exp $
*/
#include "sio.h"
@@ -297,7 +297,6 @@ static int sio_timeouts_until_log;
static struct tty *sio_tty[NSIO];
#else
static struct tty sio_tty[NSIO];
-static int nsio_tty = NSIO;
#endif
#ifdef KGDB
@@ -309,25 +308,25 @@ extern int kgdb_debug_init;
#endif
static struct speedtab comspeedtab[] = {
- 0, 0,
- 50, COMBRD(50),
- 75, COMBRD(75),
- 110, COMBRD(110),
- 134, COMBRD(134),
- 150, COMBRD(150),
- 200, COMBRD(200),
- 300, COMBRD(300),
- 600, COMBRD(600),
- 1200, COMBRD(1200),
- 1800, COMBRD(1800),
- 2400, COMBRD(2400),
- 4800, COMBRD(4800),
- 9600, COMBRD(9600),
- 19200, COMBRD(19200),
- 38400, COMBRD(38400),
- 57600, COMBRD(57600),
- 115200, COMBRD(115200),
- -1, -1
+ { 0, 0 },
+ { 50, COMBRD(50) },
+ { 75, COMBRD(75) },
+ { 110, COMBRD(110) },
+ { 134, COMBRD(134) },
+ { 150, COMBRD(150) },
+ { 200, COMBRD(200) },
+ { 300, COMBRD(300) },
+ { 600, COMBRD(600) },
+ { 1200, COMBRD(1200) },
+ { 1800, COMBRD(1800) },
+ { 2400, COMBRD(2400) },
+ { 4800, COMBRD(4800) },
+ { 9600, COMBRD(9600) },
+ { 19200, COMBRD(19200) },
+ { 38400, COMBRD(38400) },
+ { 57600, COMBRD(57600) },
+ { 115200, COMBRD(115200) },
+ { -1, -1 }
};
/* XXX - configure this list */
OpenPOWER on IntegriCloud