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 | 7a3018b4b657c2d30a3e93934f2c4204d4e007e9 (patch) | |
tree | 59686ff7711a0198fcdad9384910eaa05d145f32 /target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch | |
parent | 8dd6672941a399ae559a41beabb8764529907b99 (diff) | |
download | upstream-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.tar.gz upstream-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.tar.bz2 upstream-7a3018b4b657c2d30a3e93934f2c4204d4e007e9.zip |
brcm63xx: Fix fallback sprom il0mac
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42097 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch b/target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch index 15c760ab9b..40591e5f2e 100644 --- a/target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch +++ b/target/linux/brcm63xx/patches-3.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch @@ -76,10 +76,10 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> + sprom_extract(&fallback_sprom.sprom, template_sprom, size); } -- 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); -+ memcpy(fallback_sprom.sprom.et0mac, data->mac_addr, ETH_ALEN); ++ memcpy(fallback_sprom.sprom.il0mac, data->mac_addr, ETH_ALEN); + memcpy(fallback_sprom.sprom.et0mac, data->mac_addr, ETH_ALEN); + memcpy(fallback_sprom.sprom.et1mac, data->mac_addr, ETH_ALEN); + |