aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-07-02 13:29:43 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-07-02 22:44:06 +0200
commit250d30545567f7854987b518d5620d9b3e93b0fd (patch)
treeb48e89cf74e11501443d2487b6fa5ff161a6ecf2 /target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch
parente3b339e2ea554c2cc1ccb7d672db1dde3b1a736a (diff)
downloadupstream-250d30545567f7854987b518d5620d9b3e93b0fd.tar.gz
upstream-250d30545567f7854987b518d5620d9b3e93b0fd.tar.bz2
upstream-250d30545567f7854987b518d5620d9b3e93b0fd.zip
brcm47xx: remove kernel 4.1 support
Kernel 4.1 is not supported by LEDE for some time now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch b/target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch
deleted file mode 100644
index 957bb680bd..0000000000
--- a/target/linux/brcm47xx/patches-4.1/031-04-MIPS-BCM47xx-Extract-info-about-et2-interface.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From c58ec43eaca5f970911770c17cb3a29ac102656d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 12 May 2015 11:54:48 +0200
-Subject: [PATCH] MIPS: BCM47xx: Extract info about et2 interface
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-New devices may have more than 1 Ethernet core (device). We should
-extract info about them to make it available to Ethernet drivers.
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-Cc: linux-mips@linux-mips.org
-Cc: Hauke Mehrtens <hauke@hauke-m.de>
-Cc: Hante Meuleman <meuleman@broadcom.com>
-Cc: Ian Kent <raven@themaw.net>
-Patchwork: https://patchwork.linux-mips.org/patch/10027/
-Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
----
- arch/mips/bcm47xx/sprom.c | 6 ++++++
- include/linux/ssb/ssb.h | 3 +++
- 2 files changed, 9 insertions(+)
-
---- a/arch/mips/bcm47xx/sprom.c
-+++ b/arch/mips/bcm47xx/sprom.c
-@@ -531,6 +531,8 @@ static int mac_addr_used = 2;
- static void bcm47xx_fill_sprom_ethernet(struct ssb_sprom *sprom,
- const char *prefix, bool fallback)
- {
-+ bool fb = fallback;
-+
- nvram_read_macaddr(prefix, "et0macaddr", sprom->et0mac, fallback);
- nvram_read_u8(prefix, NULL, "et0mdcport", &sprom->et0mdcport, 0,
- fallback);
-@@ -543,6 +545,10 @@ static void bcm47xx_fill_sprom_ethernet(
- nvram_read_u8(prefix, NULL, "et1phyaddr", &sprom->et1phyaddr, 0,
- fallback);
-
-+ nvram_read_macaddr(prefix, "et2macaddr", sprom->et2mac, fb);
-+ nvram_read_u8(prefix, NULL, "et2mdcport", &sprom->et2mdcport, 0, fb);
-+ nvram_read_u8(prefix, NULL, "et2phyaddr", &sprom->et2phyaddr, 0, fb);
-+
- nvram_read_macaddr(prefix, "macaddr", sprom->il0mac, fallback);
- nvram_read_macaddr(prefix, "il0macaddr", sprom->il0mac, fallback);
-