Module Name:    src
Committed By:   bouyer
Date:           Mon Dec  4 09:14:23 UTC 2017

Modified Files:
        src/sys/dev/ic: comvar.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 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.84 src/sys/dev/ic/comvar.h:1.85
--- src/sys/dev/ic/comvar.h:1.84	Sun Oct 29 14:06:08 2017
+++ src/sys/dev/ic/comvar.h	Mon Dec  4 09:14:23 2017
@@ -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 @@ int com_is_console(bus_space_tag_t, bus_
 #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;

Reply via email to