From 3cc3c0a518292c6e500c08f17be000ece9675c28 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 11 Dec 2014 20:07:39 +0000 Subject: octeon: remove linux 3.10 support Signed-off-by: Felix Fietkau SVN-Revision: 43635 --- ...-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 target/linux/octeon/patches-3.10/0001-MIPS-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch (limited to 'target/linux/octeon/patches-3.10/0001-MIPS-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch') diff --git a/target/linux/octeon/patches-3.10/0001-MIPS-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch b/target/linux/octeon/patches-3.10/0001-MIPS-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch deleted file mode 100644 index 0a905d5..0000000 --- a/target/linux/octeon/patches-3.10/0001-MIPS-Octeon-Fix-DT-pruning-bug-with-pip-ports.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ab2bb148c5932712d2717a7f3a452846f07a660a Mon Sep 17 00:00:00 2001 -From: Faidon Liambotis -Date: Thu, 11 Jul 2013 21:08:09 +0000 -Subject: [PATCH] MIPS: Octeon: Fix DT pruning bug with pip ports - -During the pruning of the device tree octeon_fdt_pip_iface() is called -for each PIP interface and every port up to the port count is removed -from the device tree. However, the count was set to the return value of -cvmx_helper_interface_enumerate() which doesn't actually return the -count but just returns zero on success. This effectively removed *all* -ports from the tree. - -Use cvmx_helper_ports_on_interface() instead to fix this. This -successfully restores the 3 ports of my ERLite-3 and fixes the "kernel -assigns random MAC addresses" issue. - -Signed-off-by: Faidon Liambotis -Tested-by: Aaro Koskinen -Acked-by: David Daney -Cc: linux-mips@linux-mips.org -Patchwork: https://patchwork.linux-mips.org/patch/5587/ -Signed-off-by: Ralf Baechle ---- - arch/mips/cavium-octeon/octeon-platform.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - ---- a/arch/mips/cavium-octeon/octeon-platform.c -+++ b/arch/mips/cavium-octeon/octeon-platform.c -@@ -334,9 +334,10 @@ static void __init octeon_fdt_pip_iface( - char name_buffer[20]; - int iface; - int p; -- int count; -+ int count = 0; - -- count = cvmx_helper_interface_enumerate(idx); -+ if (cvmx_helper_interface_enumerate(idx) == 0) -+ count = cvmx_helper_ports_on_interface(idx); - - snprintf(name_buffer, sizeof(name_buffer), "interface@%d", idx); - iface = fdt_subnode_offset(initial_boot_params, pip, name_buffer); -- cgit v1.1