Module Name: src Committed By: skrll Date: Mon Dec 16 12:08:14 UTC 2013
Modified Files: src/sys/dev/ic: com.c Log Message: Use #if defined in previous. To generate a diff of this commit: cvs rdiff -u -r1.320 -r1.321 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.320 src/sys/dev/ic/com.c:1.321 --- src/sys/dev/ic/com.c:1.320 Mon Dec 16 01:51:19 2013 +++ src/sys/dev/ic/com.c Mon Dec 16 12:08:14 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: com.c,v 1.320 2013/12/16 01:51:19 htodd Exp $ */ +/* $NetBSD: com.c,v 1.321 2013/12/16 12:08:14 skrll 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.320 2013/12/16 01:51:19 htodd Exp $"); +__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.321 2013/12/16 12:08:14 skrll Exp $"); #include "opt_com.h" #include "opt_ddb.h" @@ -385,7 +385,7 @@ com_attach_subr(struct com_softc *sc) { struct com_regs *regsp = &sc->sc_regs; struct tty *tp; -#if (COM_16650 || COM_16750) +#if defined(COM_16650) || defined(COM_16750) u_int8_t lcr; #endif const char *fifo_msg = NULL;