svn commit: r298501 - head/sys/mips/mediatek

Stanislav Galabov sgalabov at FreeBSD.org
Sat Apr 23 04:27:02 UTC 2016


Author: sgalabov
Date: Sat Apr 23 04:27:01 2016
New Revision: 298501
URL: https://svnweb.freebsd.org/changeset/base/298501

Log:
  Remove uart_dev_mtk_ns8250
  
  The purpose of this file was to simply detect the UART speed before
  attaching the actual ns8250 driver so that we don't have to specify the
  UART speed in DTS files.
  
  However, OpenWRT DTS files specify ns16550a as a compatible string in
  their DTS files and this makes the original ns8250 driver attach to
  the device. So we would have to edit the DTS files anyway and since this
  is only the case for MT7621 and MT7628/MT7688 for now, it's better to
  just add the clock-frequency property to those (UART is always clocked
  by the same clock in both these SoCs, so that's fine) instead of having
  a separate driver and still having to change the DTS files.
  
  Approved by:	adrian (mentor)
  Sponsored by:	Smartcom - Bulgaria AD
  Differential Revision:	https://reviews.freebsd.org/D6044

Deleted:
  head/sys/mips/mediatek/uart_dev_mtk_ns8250.c
Modified:
  head/sys/mips/mediatek/files.mediatek

Modified: head/sys/mips/mediatek/files.mediatek
==============================================================================
--- head/sys/mips/mediatek/files.mediatek	Sat Apr 23 04:24:30 2016	(r298500)
+++ head/sys/mips/mediatek/files.mediatek	Sat Apr 23 04:27:01 2016	(r298501)
@@ -11,7 +11,6 @@ mips/mediatek/mtk_intr_v1.c 		optional m
 mips/mediatek/mtk_intr_v2.c 		optional mtk_intr_v2
 mips/mediatek/mtk_intr_gic.c 		optional mtk_intr_gic
 mips/mediatek/uart_dev_mtk.c 		optional uart uart_dev_mtk
-mips/mediatek/uart_dev_mtk_ns8250.c 	optional uart uart_ns8250
 mips/mediatek/mtk_spi_v1.c 		optional spibus mtk_spi_v1
 mips/mediatek/mtk_spi_v2.c 		optional spibus mtk_spi_v2
 mips/mediatek/mtk_usb_phy.c 		optional usb mtk_usb_phy


More information about the svn-src-head mailing list