Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2006 00:41:12 +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/ic ns16550.h src/sys/dev/uart uart_dev_ns8250.c
Message-ID:  <200605230041.k4N0fC0G058564@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
benno       2006-05-23 00:41:12 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ic           ns16550.h 
    sys/dev/uart         uart_dev_ns8250.c 
  Log:
  Allow uart(4)'s ns8250 driver to work with devices whose regshift is > 0.
  
  - Rename REG_DL to REG_DLL and REG_DLH.
  - Always treat DLL and DLH as two separate 8-bit registers instead of one
    16-bit register.
  
  Additionally, remove the probe for the high 4 bits of IER being 0 and don't
  assume we can always read/write 0 to/from those bits.
  
  These changes allow uart(4) to drive the UARTs on the Intel XScale PXA255.
  
  Reviewed by:    marcel
  
  Revision  Changes    Path
  1.17      +2 -1      src/sys/dev/ic/ns16550.h
  1.22      +16 -24    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?200605230041.k4N0fC0G058564>