Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2011 00:56:24 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r228341 - stable/8/sys/dev/ic
Message-ID:  <201112080056.pB80uOb1063464@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Thu Dec  8 00:56:23 2011
New Revision: 228341
URL: http://svn.freebsd.org/changeset/base/228341

Log:
  MFS r202062:
      Defintions for cavium uart
  
  MFC after:	23 months

Modified:
  stable/8/sys/dev/ic/ns16550.h
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/dev/ic/ns16550.h
==============================================================================
--- stable/8/sys/dev/ic/ns16550.h	Thu Dec  8 00:50:14 2011	(r228340)
+++ stable/8/sys/dev/ic/ns16550.h	Thu Dec  8 00:56:23 2011	(r228341)
@@ -52,6 +52,7 @@
 #define	REG_IIR		com_iir
 #define	IIR_IMASK	0xf
 #define	IIR_RXTOUT	0xc
+#define	IIR_BUSY	0x7
 #define	IIR_RLS		0x6
 #define	IIR_RXRDY	0x4
 #define	IIR_TXRDY	0x2
@@ -181,6 +182,10 @@
 #define	com_xoff1	6	/* XOFF 1 character (R/W) */
 #define	com_xoff2	7	/* XOFF 2 character (R/W) */
 
+#define com_usr		39	/* Octeon 16750/16550 Uart Status Reg */
+#define REG_USR		com_usr
+#define USR_TXFIFO_NOTFULL 2    /* Uart TX FIFO Not full */
+
 /* 16950 register #1.  Access enabled by ACR[7].  Also requires !LCR[7]. */
 #define	com_asr		1	/* additional status register (R[0-7]/W[0-1]) */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112080056.pB80uOb1063464>