Module Name: src
Committed By: mbalmer
Date: Sun Dec 15 15:55:39 UTC 2013
Modified Files:
src/sys/dev/ic: com.c
Log Message:
lcr is only used when COM_16650 is defined; unbreak the build
To generate a diff of this commit:
cvs rdiff -u -r1.318 -r1.319 src/sys/dev/ic/com.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/com.c
diff -u src/sys/dev/ic/com.c:1.318 src/sys/dev/ic/com.c:1.319
--- src/sys/dev/ic/com.c:1.318 Sun Dec 15 11:06:57 2013
+++ src/sys/dev/ic/com.c Sun Dec 15 15:55:39 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.318 2013/12/15 11:06:57 skrll Exp $ */
+/* $NetBSD: com.c,v 1.319 2013/12/15 15:55:39 mbalmer Exp $ */
/*-
* Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.318 2013/12/15 11:06:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.319 2013/12/15 15:55:39 mbalmer Exp $");
#include "opt_com.h"
#include "opt_ddb.h"
@@ -385,7 +385,9 @@ com_attach_subr(struct com_softc *sc)
{
struct com_regs *regsp = &sc->sc_regs;
struct tty *tp;
+#ifdef COM_16650
u_int8_t lcr;
+#endif
const char *fifo_msg = NULL;
prop_dictionary_t dict;
bool is_console = true;