diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc index 4db96290..4397bb69 100644 --- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc @@ -131,7 +131,6 @@ SRC_URI:append:n1sdp = " \ file://0002-pcie-Add-quirk-for-the-Arm-Neoverse-N1SDP-platform.patch \ file://0003-n1sdp-update-n1sdp-pci-quirk-for-SR-IOV-support.patch \ file://0004-n1sdp-pcie-add-quirk-support-enabling-remote-chip-PC.patch \ - file://0005-r8169-Fix-to-avoid-duplicate-sysfs-entry-creation-er.patch \ file://0001-arm64-defconfig-drop-unused-BACKLIGHT_GENERIC-option.patch \ file://no-power-avs.patch \ file://enable-realtek-R8169.cfg \ diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-5.10/n1sdp/0005-r8169-Fix-to-avoid-duplicate-sysfs-entry-creation-er.patch b/meta-arm-bsp/recipes-kernel/linux/linux-yocto-5.10/n1sdp/0005-r8169-Fix-to-avoid-duplicate-sysfs-entry-creation-er.patch deleted file mode 100644 index 143f78bf..00000000 --- a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-5.10/n1sdp/0005-r8169-Fix-to-avoid-duplicate-sysfs-entry-creation-er.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 914fe7871fc2f00ec94cd4d17722158e94fa88df Mon Sep 17 00:00:00 2001 -From: Khasim Mohammed -Date: Fri, 8 Jan 2021 04:21:23 +0000 -Subject: [PATCH] r8169: Fix to avoid duplicate sysfs entry creation error -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Pending [yet to submit] - -Signed-off-by: Khasim Syed Mohammed - -Patch taken from : -https://git.linaro.org/landing-teams/working/arm/kernel-release.git/commit/?h=n1sdp&id=84baaae9e751c058717d9702438429257f077f03 - -Following error observed with r8169 driver, this patch fix the issue. - -[ 27.544136] r8169 0002:07:00.0: enabling device (0000 -> 0003) -[ 27.559734] sysfs: cannot create duplicate filename '/class/mdio_bus/r8169-700' -… -[ 27.684858] libphy: mii_bus r8169-700 failed to register -[ 27.695602] r8169: probe of 0002:07:00.0 failed with error -22 - -Change-Id: Id696abbabd794ecef5c551c5c45630963d9502a6 -Signed-off-by: Sayanta Pattanayak ---- - drivers/net/ethernet/realtek/r8169_main.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c -index 85d9c3e30c69..6d6b24978fd5 100644 ---- a/drivers/net/ethernet/realtek/r8169_main.c -+++ b/drivers/net/ethernet/realtek/r8169_main.c -@@ -5088,7 +5088,7 @@ static int r8169_mdio_register(struct rtl8169_private *tp) - new_bus->priv = tp; - new_bus->parent = &pdev->dev; - new_bus->irq[0] = PHY_IGNORE_INTERRUPT; -- snprintf(new_bus->id, MII_BUS_ID_SIZE, "r8169-%x", pci_dev_id(pdev)); -+ snprintf(new_bus->id, MII_BUS_ID_SIZE, "r8169-%x-%x", pdev->bus->domain_nr, pci_dev_id(pdev)); - - new_bus->read = r8169_mdio_read_reg; - new_bus->write = r8169_mdio_write_reg; --- -2.17.1 -