r8169: disable detection of chip version 60

It seems only XID 609 made it to the mass market. Therefore let's
disable detection of the other RTL8125a XID's. If nobody complains
we can remove support for RTL_GIGA_MAC_VER_60 later.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/2cd3df01-5f8b-08dd-6def-3f31a3014bde@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Heiner Kallweit 2021-11-24 21:44:40 +01:00 committed by Jakub Kicinski
parent 305e95bb89
commit 4e9c91cf92

View File

@ -1971,8 +1971,11 @@ static enum mac_version rtl8169_get_mac_version(u16 xid, bool gmii)
{ 0x7cf, 0x641, RTL_GIGA_MAC_VER_63 },
/* 8125A family. */
{ 0x7cf, 0x608, RTL_GIGA_MAC_VER_60 },
{ 0x7c8, 0x608, RTL_GIGA_MAC_VER_61 },
{ 0x7cf, 0x609, RTL_GIGA_MAC_VER_61 },
/* It seems only XID 609 made it to the mass market.
* { 0x7cf, 0x608, RTL_GIGA_MAC_VER_60 },
* { 0x7c8, 0x608, RTL_GIGA_MAC_VER_61 },
*/
/* RTL8117 */
{ 0x7cf, 0x54b, RTL_GIGA_MAC_VER_53 },