]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: move mac-address-ascii patches to generic
authorChukun Pan <amadeus@jmu.edu.cn>
Wed, 1 Jun 2022 15:16:04 +0000 (23:16 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 22 Oct 2022 23:45:52 +0000 (01:45 +0200)
This enables other targets to use the mac-address-ascii
feature.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
target/linux/generic/hack-5.10/601-of_net-add-mac-address-ascii-support.patch [moved from target/linux/ath79/patches-5.10/600-of_net-add-mac-address-ascii-support.patch with 95% similarity]
target/linux/generic/hack-5.15/601-of_net-add-mac-address-ascii-support.patch [moved from target/linux/ath79/patches-5.15/600-of_net-add-mac-address-ascii-support.patch with 95% similarity]

similarity index 95%
rename from target/linux/ath79/patches-5.10/600-of_net-add-mac-address-ascii-support.patch
rename to target/linux/generic/hack-5.10/601-of_net-add-mac-address-ascii-support.patch
index 7f95852c7ef1a54fc93d7fad325067bbb0e8fa77..f73e262bba80c942a680bc909b2f0f5c1bb7d140 100644 (file)
@@ -11,7 +11,7 @@ Submitted-by: Yousong Zhou <yszhou4tech@gmail.com>
 
 --- a/net/ethernet/eth.c
 +++ b/net/ethernet/eth.c
-@@ -545,6 +545,63 @@ int eth_platform_get_mac_address(struct
+@@ -539,6 +539,63 @@ int eth_platform_get_mac_address(struct
  }
  EXPORT_SYMBOL(eth_platform_get_mac_address);
  
@@ -75,7 +75,7 @@ Submitted-by: Yousong Zhou <yszhou4tech@gmail.com>
  /**
   * Obtain the MAC address from an nvmem cell named 'mac-address' associated
   * with given device.
-@@ -558,19 +615,23 @@ int nvmem_get_mac_address(struct device
+@@ -552,19 +609,23 @@ int nvmem_get_mac_address(struct device
  {
        struct nvmem_cell *cell;
        const void *mac;
similarity index 95%
rename from target/linux/ath79/patches-5.15/600-of_net-add-mac-address-ascii-support.patch
rename to target/linux/generic/hack-5.15/601-of_net-add-mac-address-ascii-support.patch
index ff22945eb40f25b8fe37bba37c06b105ab76e59c..83483751f8627009d5ea3fd621e6c8edf0c8f1e6 100644 (file)
@@ -11,7 +11,7 @@ Submitted-by: Yousong Zhou <yszhou4tech@gmail.com>
 
 --- a/net/ethernet/eth.c
 +++ b/net/ethernet/eth.c
-@@ -544,6 +544,63 @@ int eth_platform_get_mac_address(struct
+@@ -538,6 +538,63 @@ int eth_platform_get_mac_address(struct
  }
  EXPORT_SYMBOL(eth_platform_get_mac_address);
  
@@ -75,7 +75,7 @@ Submitted-by: Yousong Zhou <yszhou4tech@gmail.com>
  /**
   * nvmem_get_mac_address - Obtain the MAC address from an nvmem cell named
   * 'mac-address' associated with given device.
-@@ -557,19 +614,23 @@ int nvmem_get_mac_address(struct device
+@@ -551,19 +608,23 @@ int nvmem_get_mac_address(struct device
  {
        struct nvmem_cell *cell;
        const void *mac;