From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045973; b=2o4X5ml1tLoltd3jh8qAHHmH2qzxGfoHppkQbMdGw72nn6i2bhN3pw2M+P90jTEllgZh GnIPkO3m1du+ZrvKI2SP7saNJ6YWpBq7JXnMYPntudRmsFHDu4FftgUrsCqGRxWKk2yhM 7zLdtTWoItwmyVgqvzyU+J5eqpMYC6iFsQi2iqebY/cbYh9X+c1LnETIoacpYvd9m20MZ V0hAa3Wj161aGex/uX4BagnuQeF/JCq0Ry5Jf6MyqLj8tM7cGP/AmJIzZRFQr5Xm9pPQa X21nfJ0w+lZy0g4se92DNlZxUfDJHMY1k+xi1tRjmVaw1wAAPZWZkyv5kKKcUh4hKEA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045973; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=33v+35Y+QWCncVH+r6A1kKsHbmsM9zi3cQ2Ge698BiI=; b=jBb9DnZNLVqhi2/jr4Z/7fVN9WNNWGm3h6fbIvpbVp0ey11ccvWyjTudEAj5U+U/qGQy pMXEEV6OMIJ2al5QwVGl7IlPl9GHgYCAtJY0mJfHI2blT/NXikZImyQNKvEgtRTuh+Bid 3sVnpZBtLP7KpiT9UHOMORraM75MARu1cKjjvP8Th1XiyHhk4MWrVbEx2f5oriGi8H8v9 kOb/7EMG/qlAEcm79GZnGX8tvBRs62ba2u1n1uMX3k2RhrK7uFIALsC87GW0sLeESny0D 0Y/a/Xi+ghvhzeXlpfzD/jRsMF5vYXRWju/GzJKAPs5PGR7cd43aB0mIlpZpEiBHI9A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b="F/NPMwJL"; arc=none smtp.remote-ip=156.67.10.101 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED8D5606A32C for ; Mon, 30 Nov 2026 13:39:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ED8D5606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=F/NPMwJL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=33v+35Y+QWCncVH+r6A1kKsHbmsM9zi3cQ2Ge698BiI=; b=F/NPMwJLSqk+hJstzMUqi/lnZa jJjw88Ub9mZYHVdMP87jJpiSVEIIPhlAxVc0FAblyCHs8odmbXTBDoc131B0wVc1oZ20mPQxKINUy Eq2Y9eu/U7xahEDo/VQhK/m9XEZnILFuvUSTcu73cyp+uMytHIy9MdH8qgbV6s3RRR7k=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1xY1bH-002NMW-72; Mon, 30 Nov 2026 14:39:23 +0100 Date: Mon, 30 Nov 2026 14:39:23 +0100 From: Andrew Lunn To: Cristian Ciocaltea Cc: Christian Marangi , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , kernel@collabora.com, netdev@vger.kernel.org Subject: Re: [PATCH net 11/14] net: phy: as21xxx: Read 10/100/1000 link modes from C22 advertisement Message-ID: <80d2d5e5-0dd8-4261-a2fa-c20aa32db273@lunn.ch> References: <20261130-as21xxx-fixes-v1-0-1bd2eae6ccbc@collabora.com> <20261130-as21xxx-fixes-v1-11-1bd2eae6ccbc@collabora.com> <91684d78-c827-42e4-9563-c3ce1dcfe6be@lunn.ch> <78142251-19b5-49f5-9ca7-038dd3e70650@collabora.com> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <78142251-19b5-49f5-9ca7-038dd3e70650@collabora.com> > Yeah, the firmware is definitely broken. This is what ethtool currently shows > for both PHY generations: > > Supported link modes: 10baseT/Half 10baseT/Full > 100baseT/Half 100baseT/Full > 1000baseT/Half 1000baseT/Full > 10000baseT/Full > 2500baseT/Full > 5000baseT/Full > > However, my understanding is that Gen1 doesn't actually support 10baseT, only > Gen2 does, while 100baseT/Half is never advertised by the firmware. I can go > with the hard-coded approach, as there doesn't seem to be a better or more > reliable way to get this information from the hardware. Yes, hardwired is normal. See the mess aquantia made with their PHY as an example. Andrew