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)
commit2202b95d4ba9ff1f6c975d4a66429af5c2022cdb
tree19d843e5b0ef3965f17e7d7965cff2b99d6bf67c
parent9b76c4bcd81c3467d31c72e8d23e77027519a678
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]