octeon: refresh patches for kernel 5.4
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Fri, 17 Apr 2020 19:56:37 +0000 (21:56 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 23 Apr 2020 16:38:26 +0000 (18:38 +0200)
Refresh patches to make them apply to kernel 5.4.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
[split patch, refresh on newer kernel, add description]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/octeon/patches-5.4/100-ubnt_edgerouter2_support.patch
target/linux/octeon/patches-5.4/110-er200-ethernet_probe_order.patch
target/linux/octeon/patches-5.4/120-cmdline-hack.patch

index 991eb56ce2d85a055819bcc8598375fa394c06bf..7fdd36e31f787a277ae73a1ef1e00b2fcb597e8e 100644 (file)
@@ -20,7 +20,7 @@
                ENUM_BRD_TYPE_CASE(CVMX_BOARD_TYPE_CUST_PRIVATE_MAX)
 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-board.c
-@@ -173,6 +173,8 @@ int cvmx_helper_board_get_mii_address(in
+@@ -174,6 +174,8 @@ int cvmx_helper_board_get_mii_address(in
                        return 7 - ipd_port;
                else
                        return -1;
index 93d1e9350595494332d6221c42e5d5eb29487049..c1b6f73a300972ef9cef58cc745f33ec33a6e08e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/staging/octeon/ethernet.c
 +++ b/drivers/staging/octeon/ethernet.c
-@@ -670,6 +670,7 @@ static int cvm_oct_probe(struct platform
+@@ -682,6 +682,7 @@ static int cvm_oct_probe(struct platform
        int interface;
        int fau = FAU_NUM_PACKET_BUFFERS_TO_FREE;
        int qos;
@@ -8,7 +8,7 @@
        struct device_node *pip;
        int mtu_overhead = ETH_HLEN + ETH_FCS_LEN;
  
-@@ -793,13 +794,19 @@ static int cvm_oct_probe(struct platform
+@@ -805,13 +806,19 @@ static int cvm_oct_probe(struct platform
        }
  
        num_interfaces = cvmx_helper_get_number_of_interfaces();
index 2b5978c5eeb0a732d5e352db96dfcdb3b09cb9fd..6c02ea3194d76426e5e989a58aefeb00b506d7c2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/cavium-octeon/setup.c
 +++ b/arch/mips/cavium-octeon/setup.c
-@@ -651,6 +651,35 @@ void octeon_user_io_init(void)
+@@ -653,6 +653,35 @@ void octeon_user_io_init(void)
        write_c0_derraddr1(0);
  }
  
@@ -36,7 +36,7 @@
  /**
   * Early entry point for arch setup
   */
-@@ -895,6 +924,8 @@ void __init prom_init(void)
+@@ -897,6 +926,8 @@ void __init prom_init(void)
                }
        }