brcm47xx: bgmac: fix internal switch initialization
authorHauke Mehrtens <hauke@openwrt.org>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
commit1b5c6ae7625bee449998bc4f98951cd263175658
tree19d843e5b0ef3965f17e7d7965cff2b99d6bf67c
parente2a5d64c3ef63929fb9eaeae1cf3e2399bd15eef
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37993 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/patches-3.10/710-bgmac_fix_internal_switch_initialization.patch [new file with mode: 0644]