brcm47xx: bgmac: fix internal switch initialization
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Sep 2013 09:39:19 +0000 (09:39 +0000)
commit8693b61dc66ca44e26c2898bc84036de056cfa12
tree19d843e5b0ef3965f17e7d7965cff2b99d6bf67c
parenta69dfeb2d8ab630b788e64a9dbc76de4927949eb
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]