brcm47xx: bgmac: fix internal switch initialization
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
commitc9399a1c81f7c9811fbc1812421f1886ee101cf5
tree7ab5ae5d0e546d0e34dae7e6f0394f870f1d5c14
parentb2447d1fcaaf4b3b0090f52955aa0a9f77e15bb7
brcm47xx: bgmac: fix internal switch initialization

Some devices (BCM4749, BCM5357, BCM53572) have internal switch that
requires initialization. We already have code for this, but because
of the typo in code it was never working. This resulted in network not
working for some routers and possibility of soft-bricking them.

Use correct bit for switch initialization and fix typo in the define.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 37993
target/linux/brcm47xx/patches-3.10/710-bgmac_fix_internal_switch_initialization.patch [new file with mode: 0644]