Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Make it clear that SUNXI registers are not define...



details:   https://anonhg.NetBSD.org/src/rev/941f7b0a6e18
branches:  trunk
changeset: 357939:941f7b0a6e18
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Mon Dec 04 09:14:23 2017 +0000

description:
Make it clear that SUNXI registers are not defined/supported in the
COM_REGMAP case

diffstat:

 sys/dev/ic/comvar.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 915160f3f3c4 -r 941f7b0a6e18 sys/dev/ic/comvar.h
--- a/sys/dev/ic/comvar.h       Mon Dec 04 08:24:35 2017 +0000
+++ b/sys/dev/ic/comvar.h       Mon Dec 04 09:14:23 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: comvar.h,v 1.84 2017/10/29 14:06:08 jmcneill Exp $     */
+/*     $NetBSD: comvar.h,v 1.85 2017/12/04 09:14:23 bouyer Exp $       */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -92,9 +92,9 @@
 #define        COM_REG_LSR             10
 #define        COM_REG_MSR             11
 #define        COM_REG_USR             31      /* 16750/SUNXI */
-#define        COM_REG_TFL             32      /* SUNXI */
-#define        COM_REG_RFL             33      /* SUNXI */
-#define        COM_REG_HALT            41      /* SUNXI */
+#ifdef COM_AWIN
+#error "COM_AWIN not compatible with COM_REGMAP"
+#endif
 
 struct com_regs {
        bus_space_tag_t         cr_iot;



Home | Main Index | Thread Index | Old Index