Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 01:57:13 +0000 (UTC)
From:      Benno Rice <benno@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/uart uart_dev_ns8250.c
Message-ID:  <200805300157.m4U1vDFI043976@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
benno       2008-05-30 01:57:13 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/uart         uart_dev_ns8250.c 
  Log:
  The XScale PXA255 has three generally ns16x50 compatible UARTs.  One of the
  variations from normal 16x50 behaviour however is the the use of a normally
  unused bit of IER to control RX timeout interrupts independently of the
  generally used RXRDY bit.  If this bit is not enabled, we only ever get
  interrupts when the FIFO is full, never before.  This is not very useful when
  the UART is being used as a console.
  
  In order to support this without causing potential problems on more "normal"
  16x50 variants, this change introduces two hints for the uart device, ier_mask
  and ier_rxbits.  These can be used to override which bits get set and cleared
  when we're enabling and disabling RX interrupts.
  
  Reviewed by:    marcel
  
  Revision  Changes    Path
  1.29      +31 -5     src/sys/dev/uart/uart_dev_ns8250.c



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