svn commit: r317871 - head/sys/mips/atheros
Adrian Chadd
adrian at FreeBSD.org
Sat May 6 06:09:52 UTC 2017
Author: adrian
Date: Sat May 6 06:09:50 2017
New Revision: 317871
URL: https://svnweb.freebsd.org/changeset/base/317871
Log:
[ar934x] do an ethernet analog reset; apparently some boards don't.
Tested:
* on IOData WN-G300R. may be same as Sitecom WLR-2100.
Submitted by: Hiroki Mori <yamori813 at yahoo.co.jp>
Differential Revision: https://reviews.freebsd.org/D10621
Modified:
head/sys/mips/atheros/ar934x_chip.c
Modified: head/sys/mips/atheros/ar934x_chip.c
==============================================================================
--- head/sys/mips/atheros/ar934x_chip.c Sat May 6 06:08:44 2017 (r317870)
+++ head/sys/mips/atheros/ar934x_chip.c Sat May 6 06:09:50 2017 (r317871)
@@ -315,6 +315,10 @@ ar934x_chip_reset_ethernet_switch(void)
DELAY(100);
ar71xx_device_start(AR934X_RESET_ETH_SWITCH);
DELAY(100);
+ ar71xx_device_stop(AR934X_RESET_ETH_SWITCH_ANALOG);
+ DELAY(100);
+ ar71xx_device_start(AR934X_RESET_ETH_SWITCH_ANALOG);
+ DELAY(100);
}
static void
More information about the svn-src-head
mailing list