[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@yahoo.co.jp>
Differential Revision:	https://reviews.freebsd.org/D10621
This commit is contained in:
Adrian Chadd 2017-05-06 06:09:50 +00:00
parent 2f57841ee4
commit 7e2f67b973
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317871

View File

@ -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