Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2015 07:35:06 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276738 - head/sys/mips/atheros
Message-ID:  <201501060735.t067Z6KJ039930@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Tue Jan  6 07:35:05 2015
New Revision: 276738
URL: https://svnweb.freebsd.org/changeset/base/276738

Log:
  The QCA955x USB init path doesn't require any of this, so delete it.
  
  Obtained from:	Linux/OpenWRT

Modified:
  head/sys/mips/atheros/qca955x_chip.c

Modified: head/sys/mips/atheros/qca955x_chip.c
==============================================================================
--- head/sys/mips/atheros/qca955x_chip.c	Tue Jan  6 05:28:37 2015	(r276737)
+++ head/sys/mips/atheros/qca955x_chip.c	Tue Jan  6 07:35:05 2015	(r276738)
@@ -297,25 +297,6 @@ qca955x_configure_gmac(uint32_t gmac_cfg
 static void
 qca955x_chip_init_usb_peripheral(void)
 {
-#if 0
-	uint32_t reg;
-
-	reg = ATH_READ_REG(AR934X_RESET_REG_BOOTSTRAP);
-	if (reg & AR934X_BOOTSTRAP_USB_MODE_DEVICE)
-		return;
-
-	ar71xx_device_stop(AR934X_RESET_USBSUS_OVERRIDE);
-	DELAY(100);
-
-	ar71xx_device_start(AR934X_RESET_USB_PHY);
-	DELAY(100);
-
-	ar71xx_device_start(AR934X_RESET_USB_PHY_ANALOG);
-	DELAY(100);
-
-	ar71xx_device_start(AR934X_RESET_USB_HOST);
-	DELAY(100);
-#endif
 }
 
 static void



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