Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2016 15:22:28 +0000 (UTC)
From:      Stanislav Galabov <sgalabov@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298058 - head/sys/mips/mediatek
Message-ID:  <201604151522.u3FFMSR0077065@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sgalabov
Date: Fri Apr 15 15:22:28 2016
New Revision: 298058
URL: https://svnweb.freebsd.org/changeset/base/298058

Log:
  Remove unneeded initialization in mtk_xhci.c
  
  This is actually initialized properly within xhci.c, so it's better to
  not initialize it in mtk_xhci.c
  
  Approved by:	adrian (mentor)
  Sponsored by:	Smartcom - Bulgaria AD
  Differential Revision:	https://reviews.freebsd.org/D5935

Modified:
  head/sys/mips/mediatek/mtk_xhci.c

Modified: head/sys/mips/mediatek/mtk_xhci.c
==============================================================================
--- head/sys/mips/mediatek/mtk_xhci.c	Fri Apr 15 15:20:41 2016	(r298057)
+++ head/sys/mips/mediatek/mtk_xhci.c	Fri Apr 15 15:22:28 2016	(r298058)
@@ -99,7 +99,6 @@ mtk_xhci_fdt_attach(device_t self)
 	sc->sc_bus.parent = self;
 	sc->sc_bus.devices = sc->sc_devices;
 	sc->sc_bus.devices_max = XHCI_MAX_DEVICES;
-	sc->sc_bus.dma_bits = 32;
 
 	rid = 0;
 	sc->sc_io_res = bus_alloc_resource_any(self, SYS_RES_MEMORY, &rid,



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