diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-08-10 12:21:30 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-08-10 12:21:30 +0000 |
commit | 02e78b9bd8acbe491eb2f3c98de3edb47029fdff (patch) | |
tree | 4d8dd5e337a73a0d0c5383d4f08cc48d6fc08972 /target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch | |
parent | 0cf7cba67b649cb7bd0e9381f401f9219e85e61d (diff) | |
download | mtk-20170518-02e78b9bd8acbe491eb2f3c98de3edb47029fdff.zip mtk-20170518-02e78b9bd8acbe491eb2f3c98de3edb47029fdff.tar.gz mtk-20170518-02e78b9bd8acbe491eb2f3c98de3edb47029fdff.tar.bz2 |
brcm63xx: Fix fallback sprom il0mac
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42097
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch b/target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch index e2a9367..bc35c25 100644 --- a/target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch +++ b/target/linux/brcm63xx/patches-3.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch @@ -48,10 +48,10 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> int ret = 0; #ifdef CONFIG_SSB_PCIHOST -- memcpy(bcm63xx_sprom.et0mac, mac, ETH_ALEN); +- memcpy(bcm63xx_sprom.il0mac, mac, ETH_ALEN); - memcpy(bcm63xx_sprom.et0mac, mac, ETH_ALEN); - memcpy(bcm63xx_sprom.et1mac, mac, ETH_ALEN); -+ memcpy(bcm63xx_sprom.et0mac, data->mac_addr, ETH_ALEN); ++ memcpy(bcm63xx_sprom.il0mac, data->mac_addr, ETH_ALEN); + memcpy(bcm63xx_sprom.et0mac, data->mac_addr, ETH_ALEN); + memcpy(bcm63xx_sprom.et1mac, data->mac_addr, ETH_ALEN); |