Module Name: src
Committed By: soren
Date: Wed Jul 17 19:51:56 UTC 2013
Modified Files:
src/sys/dev/ic: comvar.h
Log Message:
Fix COM_16750 build for non-COM_REGMAP platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/ic/comvar.h
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/comvar.h
diff -u src/sys/dev/ic/comvar.h:1.74 src/sys/dev/ic/comvar.h:1.75
--- src/sys/dev/ic/comvar.h:1.74 Sat Apr 20 11:52:41 2013
+++ src/sys/dev/ic/comvar.h Wed Jul 17 19:51:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: comvar.h,v 1.74 2013/04/20 11:52:41 rkujawa Exp $ */
+/* $NetBSD: comvar.h,v 1.75 2013/07/17 19:51:56 soren Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@@ -92,7 +92,7 @@ int com_is_console(bus_space_tag_t, bus_
#define COM_REG_LSR 10
#define COM_REG_MSR 11
#ifdef COM_16750
-#define COM_REG_USR 31
+#define COM_REG_USR 31
#endif
struct com_regs {
@@ -138,6 +138,9 @@ extern const bus_size_t com_std_map[16];
#define COM_REG_TCR com_msr
#define COM_REG_TLR com_scratch
#define COM_REG_MDR1 8
+#ifdef COM_16750
+#define COM_REG_USR com_usr
+#endif
struct com_regs {
bus_space_tag_t cr_iot;