From 210c534ce2be55fc0c59b1700809470e8ba971b8 Mon Sep 17 00:00:00 2001 From: Aleksander Jan Bajkowski Date: Wed, 9 Mar 2022 20:52:50 +0100 Subject: [PATCH] kernel: move rtl8152 patches to generic This commit moves the patches for the r8152.c driver to the generic directory. Previously they were only available on the bcm27xx target. With these patches the Realtek RTL8153C, RTL8153D, RTL8156A and RTL8156B chips are supported on all targets by the kmod-usb-net-rtl8152 module. The RTL8156A and RTL8156B are the 2.5Gb/s Ethernet adapters. The patches have been tested on TP-Link UE300 (RTL8153A) and UNITEK 1313B (RTL8156B). Signed-off-by: Aleksander Jan Bajkowski --- ...11-net-usb-r8152-Provide-missing-documentation-for-some.patch} | 0 ...11-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch} | 0 ...82-v5.11-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch} | 0 .../783-v5.12-net-usb-r8152-use-new-tasklet-API.patch} | 0 ...12-r8152-replace-several-functions-about-phy-patch-requ.patch} | 0 ...5-v5.12-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch} | 0 .../786-v5.12-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch} | 0 ...v5.12-r8152-check-if-the-pointer-of-the-function-exists.patch} | 0 .../788-v5.12-r8152-replace-netif_err-with-dev_err.patch} | 0 ...-v5.12-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch} | 0 ...-v5.13-r8152-set-inter-fram-gap-time-depending-on-speed.patch} | 0 .../791-v5.13-r8152-adjust-rtl8152_check_firmware-function.patch} | 0 .../792-v5.13-r8152-add-help-function-to-change-mtu.patch} | 0 .../backport-5.10/793-v5.13-r8152-support-new-chips.patch} | 0 ...794-v5.13-r8152-support-PHY-firmware-for-RTL8156-series.patch} | 0 ...795-v5.13-r8152-search-the-configuration-of-vendor-mode.patch} | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename target/linux/{bcm27xx/patches-5.10/950-0542-net-usb-r8152-Provide-missing-documentation-for-some.patch => generic/backport-5.10/780-v5.11-net-usb-r8152-Provide-missing-documentation-for-some.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0543-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch => generic/backport-5.10/781-v5.11-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0544-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch => generic/backport-5.10/782-v5.11-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0545-net-usb-r8152-use-new-tasklet-API.patch => generic/backport-5.10/783-v5.12-net-usb-r8152-use-new-tasklet-API.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0546-r8152-replace-several-functions-about-phy-patch-requ.patch => generic/backport-5.10/784-v5.12-r8152-replace-several-functions-about-phy-patch-requ.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0547-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch => generic/backport-5.10/785-v5.12-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0548-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch => generic/backport-5.10/786-v5.12-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0549-r8152-check-if-the-pointer-of-the-function-exists.patch => generic/backport-5.10/787-v5.12-r8152-check-if-the-pointer-of-the-function-exists.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0550-r8152-replace-netif_err-with-dev_err.patch => generic/backport-5.10/788-v5.12-r8152-replace-netif_err-with-dev_err.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0551-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch => generic/backport-5.10/789-v5.12-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0552-r8152-set-inter-fram-gap-time-depending-on-speed.patch => generic/backport-5.10/790-v5.13-r8152-set-inter-fram-gap-time-depending-on-speed.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0553-r8152-adjust-rtl8152_check_firmware-function.patch => generic/backport-5.10/791-v5.13-r8152-adjust-rtl8152_check_firmware-function.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0554-r8152-add-help-function-to-change-mtu.patch => generic/backport-5.10/792-v5.13-r8152-add-help-function-to-change-mtu.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0555-r8152-support-new-chips.patch => generic/backport-5.10/793-v5.13-r8152-support-new-chips.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0556-r8152-support-PHY-firmware-for-RTL8156-series.patch => generic/backport-5.10/794-v5.13-r8152-support-PHY-firmware-for-RTL8156-series.patch} (100%) rename target/linux/{bcm27xx/patches-5.10/950-0557-r8152-search-the-configuration-of-vendor-mode.patch => generic/backport-5.10/795-v5.13-r8152-search-the-configuration-of-vendor-mode.patch} (100%) diff --git a/target/linux/bcm27xx/patches-5.10/950-0542-net-usb-r8152-Provide-missing-documentation-for-some.patch b/target/linux/generic/backport-5.10/780-v5.11-net-usb-r8152-Provide-missing-documentation-for-some.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0542-net-usb-r8152-Provide-missing-documentation-for-some.patch rename to target/linux/generic/backport-5.10/780-v5.11-net-usb-r8152-Provide-missing-documentation-for-some.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0543-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch b/target/linux/generic/backport-5.10/781-v5.11-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0543-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch rename to target/linux/generic/backport-5.10/781-v5.11-net-usb-r8152-Fix-a-couple-of-spelling-errors-in-fw_.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0544-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch b/target/linux/generic/backport-5.10/782-v5.11-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0544-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch rename to target/linux/generic/backport-5.10/782-v5.11-net-usb-r8153_ecm-support-ECM-mode-for-RTL8153.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0545-net-usb-r8152-use-new-tasklet-API.patch b/target/linux/generic/backport-5.10/783-v5.12-net-usb-r8152-use-new-tasklet-API.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0545-net-usb-r8152-use-new-tasklet-API.patch rename to target/linux/generic/backport-5.10/783-v5.12-net-usb-r8152-use-new-tasklet-API.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0546-r8152-replace-several-functions-about-phy-patch-requ.patch b/target/linux/generic/backport-5.10/784-v5.12-r8152-replace-several-functions-about-phy-patch-requ.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0546-r8152-replace-several-functions-about-phy-patch-requ.patch rename to target/linux/generic/backport-5.10/784-v5.12-r8152-replace-several-functions-about-phy-patch-requ.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0547-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch b/target/linux/generic/backport-5.10/785-v5.12-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0547-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch rename to target/linux/generic/backport-5.10/785-v5.12-r8152-adjust-the-flow-of-power-cut-for-RTL8153B.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0548-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch b/target/linux/generic/backport-5.10/786-v5.12-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0548-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch rename to target/linux/generic/backport-5.10/786-v5.12-r8152-enable-U1-U2-for-USB_SPEED_SUPER.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0549-r8152-check-if-the-pointer-of-the-function-exists.patch b/target/linux/generic/backport-5.10/787-v5.12-r8152-check-if-the-pointer-of-the-function-exists.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0549-r8152-check-if-the-pointer-of-the-function-exists.patch rename to target/linux/generic/backport-5.10/787-v5.12-r8152-check-if-the-pointer-of-the-function-exists.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0550-r8152-replace-netif_err-with-dev_err.patch b/target/linux/generic/backport-5.10/788-v5.12-r8152-replace-netif_err-with-dev_err.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0550-r8152-replace-netif_err-with-dev_err.patch rename to target/linux/generic/backport-5.10/788-v5.12-r8152-replace-netif_err-with-dev_err.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0551-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch b/target/linux/generic/backport-5.10/789-v5.12-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0551-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch rename to target/linux/generic/backport-5.10/789-v5.12-r8152-spilt-rtl_set_eee_plus-and-r8153b_green_en.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0552-r8152-set-inter-fram-gap-time-depending-on-speed.patch b/target/linux/generic/backport-5.10/790-v5.13-r8152-set-inter-fram-gap-time-depending-on-speed.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0552-r8152-set-inter-fram-gap-time-depending-on-speed.patch rename to target/linux/generic/backport-5.10/790-v5.13-r8152-set-inter-fram-gap-time-depending-on-speed.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0553-r8152-adjust-rtl8152_check_firmware-function.patch b/target/linux/generic/backport-5.10/791-v5.13-r8152-adjust-rtl8152_check_firmware-function.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0553-r8152-adjust-rtl8152_check_firmware-function.patch rename to target/linux/generic/backport-5.10/791-v5.13-r8152-adjust-rtl8152_check_firmware-function.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0554-r8152-add-help-function-to-change-mtu.patch b/target/linux/generic/backport-5.10/792-v5.13-r8152-add-help-function-to-change-mtu.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0554-r8152-add-help-function-to-change-mtu.patch rename to target/linux/generic/backport-5.10/792-v5.13-r8152-add-help-function-to-change-mtu.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0555-r8152-support-new-chips.patch b/target/linux/generic/backport-5.10/793-v5.13-r8152-support-new-chips.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0555-r8152-support-new-chips.patch rename to target/linux/generic/backport-5.10/793-v5.13-r8152-support-new-chips.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0556-r8152-support-PHY-firmware-for-RTL8156-series.patch b/target/linux/generic/backport-5.10/794-v5.13-r8152-support-PHY-firmware-for-RTL8156-series.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0556-r8152-support-PHY-firmware-for-RTL8156-series.patch rename to target/linux/generic/backport-5.10/794-v5.13-r8152-support-PHY-firmware-for-RTL8156-series.patch diff --git a/target/linux/bcm27xx/patches-5.10/950-0557-r8152-search-the-configuration-of-vendor-mode.patch b/target/linux/generic/backport-5.10/795-v5.13-r8152-search-the-configuration-of-vendor-mode.patch similarity index 100% rename from target/linux/bcm27xx/patches-5.10/950-0557-r8152-search-the-configuration-of-vendor-mode.patch rename to target/linux/generic/backport-5.10/795-v5.13-r8152-search-the-configuration-of-vendor-mode.patch -- 2.30.2