From patchwork Mon Nov 15 20:51:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 12620463 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49DABC4707E for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3723D6324D for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349463AbhKOVUE (ORCPT ); Mon, 15 Nov 2021 16:20:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347652AbhKOU7M (ORCPT ); Mon, 15 Nov 2021 15:59:12 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A21DFC061570 for ; Mon, 15 Nov 2021 12:52:52 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id c4so33106974wrd.9 for ; Mon, 15 Nov 2021 12:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=5kDUy3RyZbZhxT8FfN2eBoCo6MxfGNMeiGHMcv5L5GI=; b=lahNnahp7sk+1ew/8E/zznmU2oaPoiZurcnnbfmLcpLcwDOLu5iYdHVY0GQiwAWuFv inuwkb5NOYgQ13+26CievUF3fCL+vUsltyrv93nobQ1m/9FFjsiQSKjjG99mwkT4W+// nxv/+1blGxQm6/cBR3YvxELNhCTavUSuxCGPwgbOBtRBhkdniArkNCAiqk2jlDH4tlcG gCnEM4ujCHpCEe9tbeaTju/TdgkNAZgzIRSALvXDL0WxGELI5Pw122Gg7ZaR+nlQK8pk zzr+1MXh3ReT0BSIdkklI5jjjtMS1S2yionpOP1sp+7RjjyuZLlFXkVt6IqwIQMJTglQ 8y8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=5kDUy3RyZbZhxT8FfN2eBoCo6MxfGNMeiGHMcv5L5GI=; b=xF/d0fWbjUPWPFx44noD2njkVf40CF3bq3ywi7YQuict2ulDSxZ5EgkOqbiq8r7GBH eakcNg6gO7OMBzA+9zQq+42QV8l+NQqs775vPlYoqoy05qN07VJX2AOnb6Se3NBdBlRJ 96R+Sn3qbTh5rBhE+9OmrY2JfgnmJSCSVAu6SWCFg47UZgx6bfb82sH8GQclIW0BmVV0 /N+/ilHvetfoidNAnFNiN1/EpPmeLgSBs5PV4HUgPHOtRUkEyOXFZ/+ChDo/5C49dLMN CuC+k/0xOGMnxz9JAGT6LNarYtyA3k+oaTfBIrfalGAByzxpK1j5McEBfh5qFzURdITv yz5A== X-Gm-Message-State: AOAM532wzgKIKGweKqRFgW9Xwc6HFkN4Ebi+oyHn3MfTZ879dSZY6gzl nZzTlmS+p6tHyhWu+HgfJtYm5XJVaK0= X-Google-Smtp-Source: ABdhPJzqrotwJ1lliukStB/N1b8NWYvYcQLWYXnbohZ3foUID2VXJUFzbpvRo3iPMwdlc1BmJC7vxg== X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr2473733wri.308.1637009571225; Mon, 15 Nov 2021 12:52:51 -0800 (PST) Received: from ?IPV6:2003:ea:8f1a:f00:a554:6e71:73b4:f32d? (p200300ea8f1a0f00a5546e7173b4f32d.dip0.t-ipconnect.de. [2003:ea:8f1a:f00:a554:6e71:73b4:f32d]) by smtp.googlemail.com with ESMTPSA id o10sm19122062wri.15.2021.11.15.12.52.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 12:52:50 -0800 (PST) Message-ID: <52842aa1-3050-6258-138c-042c24c3e597@gmail.com> Date: Mon, 15 Nov 2021 21:51:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: [PATCH net-next 1/3] r8169: disable detection of chip versions 49 and 50 Content-Language: en-US From: Heiner Kallweit To: Jakub Kicinski , David Miller , Realtek linux nic maintainers Cc: "netdev@vger.kernel.org" References: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> In-Reply-To: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org It seems these chip versions never made it to the wild. Therefore disable detection and if nobody complains remove support completely later. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 6e46397f0..3033f1222 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -1978,8 +1978,11 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii) /* 8168EP family. */ { 0x7cf, 0x502, RTL_GIGA_MAC_VER_51 }, - { 0x7cf, 0x501, RTL_GIGA_MAC_VER_50 }, - { 0x7cf, 0x500, RTL_GIGA_MAC_VER_49 }, + /* It seems this chip version never made it to + * the wild. Let's disable detection. + * { 0x7cf, 0x501, RTL_GIGA_MAC_VER_50 }, + * { 0x7cf, 0x500, RTL_GIGA_MAC_VER_49 }, + */ /* 8168H family. */ { 0x7cf, 0x541, RTL_GIGA_MAC_VER_46 }, From patchwork Mon Nov 15 20:51:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 12620457 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F26EC28CFB for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12F7261B64 for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349054AbhKOVTc (ORCPT ); Mon, 15 Nov 2021 16:19:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347667AbhKOU7M (ORCPT ); Mon, 15 Nov 2021 15:59:12 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AC6EC061714 for ; Mon, 15 Nov 2021 12:52:56 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id 67-20020a1c1946000000b0030d4c90fa87so750748wmz.2 for ; Mon, 15 Nov 2021 12:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=guizuCKGXp/lFzFX+o51T7PSXYOfVnCvlTGA6huwYWg=; b=U3zGOylSfuFxzpx9MYqwFB0aBb9iEbFF7Qe6s/1K3qMAtevNqySUUbuG5EtqaD+X+k SyJ1XIUOF5bzf77WldYvAH3MhhulZWkc94X/Cym6h/sCFHBuexj6YrHo1wr3lQwcH9Wy Jd1JhaR/xULHBdB+bz166F7L57q228U5Qyzi4WBT2lmHz/hXl+wSbe65f+tlY93NrP/i jrJ4ba373UTKbrg4msBaCWxZuqyKrdlnmnA2C5xfPs7pQCBCBOKmCKiSZ9G5s8LYgKe2 WZn18580U1zdANZBFSYabEIAEeHk/UzMWFuxK5IzTRuQ4RUMUG7zuN4EyIqiw3x9d0cP wQSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=guizuCKGXp/lFzFX+o51T7PSXYOfVnCvlTGA6huwYWg=; b=7XacJZd81cqwn353usE3AR8Whv+avSfkiNnRG+jNUADC/gBQ373w79n1wfk7FwV7WG xrPHZ6hGyp5IUuLJfhXL7UMA4XPlAda5suIZULaZ2PPLp7kxb8O2zhG58paDHk0KYNYe xrixyWm2ypKKars6Q/VPU+VEhOF0GgUI02pDXS1DTW0mxkIcWZx4303e/eY+DwFQD916 6PdEb/Bjbg5sBjSa0hSrnTpBYn2t17FCdoHyJAjX/HUlV9o0ozCu22fgf8dWZ7+iRLME G0GBcOuwsOczXsS8hyaLjpAmQ/S6ueMP8vvyMiM3U4nRsR7XKbwAyr3qy4HOrhjWW9+D lAvQ== X-Gm-Message-State: AOAM533TLNgCzNI6mt4OTXdstYA85UAzYSFwD6/bz78lXJ6ZOjAI5uo1 73Yy9z1ZLC/jC6dgBL9hGa8nTqeFlWk= X-Google-Smtp-Source: ABdhPJxGImjCCCGlrBIGh//3kv5bYg3tcPMoLqBZXmIoQhGyjpj8Iv4TXdXP3u2zsddTCF0BtJcEjw== X-Received: by 2002:a1c:23cb:: with SMTP id j194mr63900721wmj.13.1637009574641; Mon, 15 Nov 2021 12:52:54 -0800 (PST) Received: from ?IPV6:2003:ea:8f1a:f00:a554:6e71:73b4:f32d? (p200300ea8f1a0f00a5546e7173b4f32d.dip0.t-ipconnect.de. [2003:ea:8f1a:f00:a554:6e71:73b4:f32d]) by smtp.googlemail.com with ESMTPSA id h15sm425438wmq.32.2021.11.15.12.52.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 12:52:54 -0800 (PST) Message-ID: Date: Mon, 15 Nov 2021 21:51:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: [PATCH net-next 2/3] r8169: disable detection of chip version 45 Content-Language: en-US From: Heiner Kallweit To: Jakub Kicinski , David Miller , Realtek linux nic maintainers Cc: "netdev@vger.kernel.org" References: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> In-Reply-To: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org It seems this chip version never made it to the wild. Therefore disable detection and if nobody complains remove support completely later. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 3033f1222..c4dda39e4 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -1986,7 +1986,10 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii) /* 8168H family. */ { 0x7cf, 0x541, RTL_GIGA_MAC_VER_46 }, - { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 }, + /* It seems this chip version never made it to + * the wild. Let's disable detection. + * { 0x7cf, 0x540, RTL_GIGA_MAC_VER_45 }, + */ /* 8168G family. */ { 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 }, From patchwork Mon Nov 15 20:52:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 12620461 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44846C28D13 for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2543061B6F for ; Mon, 15 Nov 2021 21:18:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349204AbhKOVTo (ORCPT ); Mon, 15 Nov 2021 16:19:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347669AbhKOU7M (ORCPT ); Mon, 15 Nov 2021 15:59:12 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B730AC061746 for ; Mon, 15 Nov 2021 12:52:59 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id c4so33107453wrd.9 for ; Mon, 15 Nov 2021 12:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=91UgiZjhItcKOZipH+ovhBW9s1FfoDyhKKLUbyS/2dM=; b=P7Ar3E8QX7BQWuRjN7lD98+S72qQkHxt7VftUS+3xykpAbm2qz3E6kOGhnrDcY+qM7 RxZ6Vw1Z19QsXQp3sJFmHJ72TJKZzCeuU5CsoOjPppejRKm5awFz68EsXQ0viL3lTYt5 mV85SXJfSnEiyqzxic2Vf5FMlTrpAFHvkf2PRBL6RObAu1TFRkp6sycrZhM4MSsppwfk FMd4No8CdU2a53fijww67Imaa4PteBtLGe1LfJ8klf7F0/dOcgc2WSc+yIxnlLrL9KdL NZ2bf+tptvi4LChfYy/HQmiXZYI3aWzi0jortqrL775vTmKXFpnTyUas0FdgxCG1tgar Bv8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=91UgiZjhItcKOZipH+ovhBW9s1FfoDyhKKLUbyS/2dM=; b=3iCJ2ieXxfEVyk4ILk8nzeUn3/5qHuGGGN87IcUoM5ESLbwTnTrWLrF+hmLdGI5Spi ckRW2rGQ6h8xz+bN5HXUHlOc+7rpqEI/SJayAGmWvFyj+Id4xlN855Bqx/dLoiyp9Fxz DnTiVoqB3NBavpgac9OTqcZXr+qXIWvrQX8VGroKYUAe4Q2qcwSxE1QcEIXoK4rpPKx6 lYYyS11PMhYPbYhvs3LEyO0JFc5l41M0D4xgJ0DTu/RrAW/nmcW0+KRlBsU51yYRg/zY cxN6Vaq4g02PgYHw9HVO+kPqRjsDCxqpNqOMUQD1kE6u19Ae9qNiKrHwNhQ6D9fPgIYn 6zWA== X-Gm-Message-State: AOAM531SJ5SmIknEdDHYPVjyKmm9u35Of01G9m2EFp5AHBCWXusByZmk bPChwkHh4k6UDAI5ID4TOJE= X-Google-Smtp-Source: ABdhPJwbKwyCOOKvUBBBa6Mm55riBFTmPmZeYcwb+D2vuMlVd4pJWCPF7XCDDrSAAVp94Fhop6vhzQ== X-Received: by 2002:a05:6000:1788:: with SMTP id e8mr2494860wrg.45.1637009578364; Mon, 15 Nov 2021 12:52:58 -0800 (PST) Received: from ?IPV6:2003:ea:8f1a:f00:a554:6e71:73b4:f32d? (p200300ea8f1a0f00a5546e7173b4f32d.dip0.t-ipconnect.de. [2003:ea:8f1a:f00:a554:6e71:73b4:f32d]) by smtp.googlemail.com with ESMTPSA id o26sm368777wmc.17.2021.11.15.12.52.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 12:52:57 -0800 (PST) Message-ID: <9e0539c6-df97-ab4a-5c8c-6b0efc72bdc1@gmail.com> Date: Mon, 15 Nov 2021 21:52:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: [PATCH net-next 3/3] r8169: disable detection of chip version 41 Content-Language: en-US From: Heiner Kallweit To: Jakub Kicinski , David Miller , Realtek linux nic maintainers Cc: "netdev@vger.kernel.org" References: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> In-Reply-To: <7708d13a-4a2b-090d-fadf-ecdd0fff5d2e@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org It seems this chip version never made it to the wild. Therefore disable detection and if nobody complains remove support completely later. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index c4dda39e4..303b61a2b 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -1994,7 +1994,10 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii) /* 8168G family. */ { 0x7cf, 0x5c8, RTL_GIGA_MAC_VER_44 }, { 0x7cf, 0x509, RTL_GIGA_MAC_VER_42 }, - { 0x7cf, 0x4c1, RTL_GIGA_MAC_VER_41 }, + /* It seems this chip version never made it to + * the wild. Let's disable detection. + * { 0x7cf, 0x4c1, RTL_GIGA_MAC_VER_41 }, + */ { 0x7cf, 0x4c0, RTL_GIGA_MAC_VER_40 }, /* 8168F family. */