svn commit: r308841 - head/sys/dev/ic

Ruslan Bukin br at FreeBSD.org
Sat Nov 19 16:00:06 UTC 2016


Author: br
Date: Sat Nov 19 16:00:05 2016
New Revision: 308841
URL: https://svnweb.freebsd.org/changeset/base/308841

Log:
  Add receiver timeout interrupt enable bit implemented in some
  system on chips.
  
  Submitted by:	kan
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/dev/ic/ns16550.h

Modified: head/sys/dev/ic/ns16550.h
==============================================================================
--- head/sys/dev/ic/ns16550.h	Sat Nov 19 15:43:22 2016	(r308840)
+++ head/sys/dev/ic/ns16550.h	Sat Nov 19 16:00:05 2016	(r308841)
@@ -45,8 +45,13 @@
 #define	IER_ETXRDY	0x2
 #define	IER_ERLS	0x4
 #define	IER_EMSC	0x8
+/*
+ * Receive timeout interrupt enable.
+ * Implemented in Intel XScale, Ingenic XBurst.
+ */
+#define	IER_RXTMOUT	0x10
 
-#define	IER_BITS	"\20\1ERXRDY\2ETXRDY\3ERLS\4EMSC"
+#define	IER_BITS	"\20\1ERXRDY\2ETXRDY\3ERLS\4EMSC\5RXTMOUT"
 
 #define	com_iir		2	/* interrupt identification register (R) */
 #define	REG_IIR		com_iir


More information about the svn-src-all mailing list