Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix COM_16750 build for non-COM_REGMAP platforms.
details: https://anonhg.NetBSD.org/src/rev/0e6f88118ff8
branches: trunk
changeset: 788656:0e6f88118ff8
user: soren <soren%NetBSD.org@localhost>
date: Wed Jul 17 19:51:56 2013 +0000
description:
Fix COM_16750 build for non-COM_REGMAP platforms.
diffstat:
sys/dev/ic/comvar.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 69bc19e1bc79 -r 0e6f88118ff8 sys/dev/ic/comvar.h
--- a/sys/dev/ic/comvar.h Wed Jul 17 19:51:03 2013 +0000
+++ b/sys/dev/ic/comvar.h Wed Jul 17 19:51:56 2013 +0000
@@ -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 @@
#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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index