From patchwork Mon May 27 19:20:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13675716 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC35C168C4 for ; Mon, 27 May 2024 19:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716837618; cv=none; b=TVMxOiHGW7DxZiu+HKroqNU4kbkjCPM6tbvlj18QIfOyy5vabcQg7kDQxSATvxOl/sC1g93EPxh6kCGRRMM5m7Aw/VuokTcSKtJEj8IPwdWPxAMEJgYbWNp0elme9zdMivJLchXcvim454ZUaE0r+4ZDTwXhS3S0Y6iUAk3K2FU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716837618; c=relaxed/simple; bh=vPrjk3xt3qv/9vSJN6Wu8JgS7KcAUx2St8BUSs9zLyA=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=ZRmioqSxHkz3Bk7wsiuaJGtFs/WhUtkjxAYSlNEC5Kdgy8yezVFmx3QcN/c0LO31WEEIEGXJjD8e4yczKED0cpvarfeCybW5ZUTimDv2d1X6c4eRyiYv300Qi84XcIONkrJT/doPJEFAWY3IV9nvSn+BemV8mtVzwER4182sVMQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QGv4NzVQ; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QGv4NzVQ" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-579cd80450fso2295397a12.0 for ; Mon, 27 May 2024 12:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716837615; x=1717442415; darn=vger.kernel.org; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=22dodccdaRs0TyL0zfUCi5IqM7zFVZ/oXehQJqvvx9c=; b=QGv4NzVQBNpMJSdVqJc9EGuMATQTh76ppAinxaoxHS5vgcqIZNFgJ09GPmRZNr55xm akaMymLXcGjN2SfMxncqz0z/CchKV8qV7Y7qsxnMgNkRKDdt4IL327FX47IaNDs+5iFm SBe0mqw9jFu9D/L045aebi4cCysrz8AgDwRoiSbjFOg9VCjS+h/bnb8EDnazDPqk3YoU tw8tMoCRMgJPzqwohmzAdiFV2rfrl1JC06z1dbbFCHUDMojhrrjx5vRWcYC7fQooHMJC 2IO5krvaqCw+sKnUr+5lw062R9cXJ0qmtZ1/gxPjIIccQ+ktgd00b2tKUqoWBqrWhNde wdFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716837615; x=1717442415; h=content-transfer-encoding:autocrypt:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=22dodccdaRs0TyL0zfUCi5IqM7zFVZ/oXehQJqvvx9c=; b=V8cR5wJFlh8AMsZ9Be/gzk+KjrcOpgrB1SIsDViSPBh+cU1Z8ZgjCLmuIC2P5uV8Gt Iq1CSpJU0j10j/psvbiftOuHs1/zpPrZIUYdCAkVTWPkccaa/CgP3yXg+g1tvvOgwaXE /c9ErsfoEO07WVrkKyatnCEI7CbqqDAJ9LPq7BnJretUWcTkOgkwcq6x/3qfPkoMw+dG /3g+WRK2pa1c1+yFMugqG1u/J5WD6d6zMbTI8orugdcC4q0liUuD2amyFQ4CPf1Zxp5Y VTzyYoSd85FYwroFY6jAYyRHNC/Bdrc9ByTEJ/R1jSlOUYrmCatpWxsfNtJpDgUwjDlW Gyeg== X-Gm-Message-State: AOJu0YzF270WGMItbmiaTThmOdHhH49Z+r5zEz21ZMJUGt/oqQpzstrC Hr1Hxjd3NsWM5PHXX09irLCRIYZrHTIlkEIdvb80MHPVrk82dWAh X-Google-Smtp-Source: AGHT+IGyRQ3XsJXQEE9EqUfHIi4Ib8zHy2ESDQbcUJTa8pTv8u9GGnsonY2+GAXbuW9o5BlrZFbb6A== X-Received: by 2002:a17:906:37c6:b0:a59:a3ad:c3f6 with SMTP id a640c23a62f3a-a62616def98mr846340566b.3.1716837614839; Mon, 27 May 2024 12:20:14 -0700 (PDT) Received: from ?IPV6:2a01:c22:7ab0:9500:7d65:1ddd:73ae:5b49? (dynamic-2a01-0c22-7ab0-9500-7d65-1ddd-73ae-5b49.c22.pool.telefonica.de. [2a01:c22:7ab0:9500:7d65:1ddd:73ae:5b49]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-a6286457089sm428681166b.64.2024.05.27.12.20.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 May 2024 12:20:14 -0700 (PDT) Message-ID: <875cdcf4-843c-420a-ad5d-417447b68572@gmail.com> Date: Mon, 27 May 2024 21:20:16 +0200 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Paolo Abeni , Jakub Kicinski , Eric Dumazet , David Miller , Realtek linux nic maintainers Cc: "netdev@vger.kernel.org" From: Heiner Kallweit Subject: [PATCH net-next] r8169: remove detection of chip version 11 (early RTL8168b) Autocrypt: addr=hkallweit1@gmail.com; keydata= xsFNBF/0ZFUBEAC0eZyktSE7ZNO1SFXL6cQ4i4g6Ah3mOUIXSB4pCY5kQ6OLKHh0FlOD5/5/ sY7IoIouzOjyFdFPnz4Bl3927ClT567hUJJ+SNaFEiJ9vadI6vZm2gcY4ExdIevYHWe1msJF MVE4yNwdS+UsPeCF/6CQQTzHc+n7DomE7fjJD5J1hOJjqz2XWe71fTvYXzxCFLwXXbBiqDC9 dNqOe5odPsa4TsWZ09T33g5n2nzTJs4Zw8fCy8rLqix/raVsqr8fw5qM66MVtdmEljFaJ9N8 /W56qGCp+H8Igk/F7CjlbWXiOlKHA25mPTmbVp7VlFsvsmMokr/imQr+0nXtmvYVaKEUwY2g 86IU6RAOuA8E0J5bD/BeyZdMyVEtX1kT404UJZekFytJZrDZetwxM/cAH+1fMx4z751WJmxQ J7mIXSPuDfeJhRDt9sGM6aRVfXbZt+wBogxyXepmnlv9K4A13z9DVLdKLrYUiu9/5QEl6fgI kPaXlAZmJsQfoKbmPqCHVRYj1lpQtDM/2/BO6gHASflWUHzwmBVZbS/XRs64uJO8CB3+V3fa cIivllReueGCMsHh6/8wgPAyopXOWOxbLsZ291fmZqIR0L5Y6b2HvdFN1Xhc+YrQ8TKK+Z4R mJRDh0wNQ8Gm89g92/YkHji4jIWlp2fwzCcx5+lZCQ1XdqAiHQARAQABzSZIZWluZXIgS2Fs bHdlaXQgPGhrYWxsd2VpdDFAZ21haWwuY29tPsLBjgQTAQgAOBYhBGxfqY/yOyXjyjJehXLe ig9U8DoMBQJf9GRVAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEHLeig9U8DoMSycQ AJbfg8HZEK0ljV4M8nvdaiNixWAufrcZ+SD8zhbxl8GispK4F3Yo+20Y3UoZ7FcIidJWUUJL axAOkpI/70YNhlqAPMsuudlAieeYZKjIv1WV5ucNZ3VJ7dC+dlVqQ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FHlGVGpBHxFUwb /a4UjJBPtIwa4tWR8B1Ma36S8Jk456k2n1id7M0LQ+eqstmp6Y+UB+pt9NX6t0Slw1NCdYTW gJezWTVKF7pmTdXszXGxlc9kTrVUz04PqPjnYbv5UWuDd2eyzGjrrFOsJEi8OK2d2j4FfF++ AzOMdW09JVqejQARAQABwsF2BBgBCAAgFiEEbF+pj/I7JePKMl6Fct6KD1TwOgwFAl/0ZFUC GwwACgkQct6KD1TwOgxUfg//eAoYc0Vm4NrxymfcY30UjHVD0LgSvU8kUmXxil3qhFPS7KA+ y7tgcKLHOkZkXMX5MLFcS9+SmrAjSBBV8omKoHNo+kfFx/dUAtz0lot8wNGmWb+NcHeKM1eb nwUMOEa1uDdfZeKef/U/2uHBceY7Gc6zPZPWgXghEyQMTH2UhLgeam8yglyO+A6RXCh+s6ak Wje7Vo1wGK4eYxp6pwMPJXLMsI0ii/2k3YPEJPv+yJf90MbYyQSbkTwZhrsokjQEaIfjrIk3 rQRjTve/J62WIO28IbY/mENuGgWehRlTAbhC4BLTZ5uYS0YMQCR7v9UGMWdNWXFyrOB6PjSu Trn9MsPoUc8qI72mVpxEXQDLlrd2ijEWm7Nrf52YMD7hL6rXXuis7R6zY8WnnBhW0uCfhajx q+KuARXC0sDLztcjaS3ayXonpoCPZep2Bd5xqE4Ln8/COCslP7E92W1uf1EcdXXIrx1acg21 H/0Z53okMykVs3a8tECPHIxnre2UxKdTbCEkjkR4V6JyplTS47oWMw3zyI7zkaadfzVFBxk2 lo/Tny+FX1Azea3Ce7oOnRUEZtWSsUidtIjmL8YUQFZYm+JUIgfRmSpMFq8JP4VH43GXpB/S OCrl+/xujzvoUBFV/cHKjEQYBxo+MaiQa1U54ykM2W4DnHb1UiEf5xDkFd4= X-Patchwork-Delegate: kuba@kernel.org This early RTL8168b version was the first PCIe chip version, and it's quite quirky. Last sign of life is from more than 15 yrs ago. Let's remove detection of this chip version, we'll see whether anybody complains. If not, support for this chip version can be removed a few kernel versions later. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index e9f5185e4..9be254373 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -2274,7 +2274,9 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii) /* 8168B family. */ { 0x7c8, 0x380, RTL_GIGA_MAC_VER_17 }, - { 0x7c8, 0x300, RTL_GIGA_MAC_VER_11 }, + /* This one is very old and rare, let's see if anybody complains. + * { 0x7c8, 0x300, RTL_GIGA_MAC_VER_11 }, + */ /* 8101 family. */ { 0x7c8, 0x448, RTL_GIGA_MAC_VER_39 },