diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-02 11:02:39 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-02-02 20:40:29 +0100 |
commit | e23a90674e1b52a6eaa3d66a621f7ff612641243 (patch) | |
tree | 0ac3ad13782560e6e2a9326cf00a0f599d92a564 /target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch | |
parent | a3b55ae510e1af2fa401d0091fccb11af6bed799 (diff) | |
download | upstream-e23a90674e1b52a6eaa3d66a621f7ff612641243.tar.gz upstream-e23a90674e1b52a6eaa3d66a621f7ff612641243.tar.bz2 upstream-e23a90674e1b52a6eaa3d66a621f7ff612641243.zip |
bcm63xx: backport upstream SSB SPROM extraction
New upstream changes extract more SPROM values and fix the antenna gain.
These changes can be found in linux drivers/ssb/pci.c.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch b/target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch index 24ae8c35c7..eaabbeb432 100644 --- a/target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch +++ b/target/linux/bcm63xx/patches-5.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch @@ -84,7 +84,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> /* FIXME: use lib_sprom after submission upstream */ -@@ -654,10 +671,11 @@ int __init bcm63xx_register_fallback_spr +@@ -718,10 +735,11 @@ int __init bcm63xx_register_fallback_spr { int ret = 0; @@ -97,7 +97,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> case SPROM_BCM4306: memcpy(&template_sprom, &bcm4306_sprom, sizeof(bcm4306_sprom)); size = ARRAY_SIZE(bcm4306_sprom); -@@ -678,6 +696,7 @@ int __init bcm63xx_register_fallback_spr +@@ -742,6 +760,7 @@ int __init bcm63xx_register_fallback_spr memcpy(&template_sprom, &bcm43222_sprom, sizeof(bcm43222_sprom)); size = ARRAY_SIZE(bcm43222_sprom); break; @@ -105,7 +105,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> case SPROM_DEFAULT: memcpy(&bcm63xx_sprom, &bcm63xx_default_sprom, sizeof(bcm63xx_sprom)); -@@ -692,8 +711,19 @@ int __init bcm63xx_register_fallback_spr +@@ -756,8 +775,19 @@ int __init bcm63xx_register_fallback_spr 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); |