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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to