[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a40de4e3-28a9-4628-960c-894b6c912229@lunn.ch>
Date: Wed, 11 Sep 2024 19:06:41 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Raju Lakkaraju <Raju.Lakkaraju@...rochip.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, bryan.whitehead@...rochip.com,
UNGLinuxDriver@...rochip.com, linux@...linux.org.uk,
maxime.chevallier@...tlin.com, rdunlap@...radead.org,
Steen.Hegelund@...rochip.com, daniel.machon@...rochip.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next V2 1/5] net: lan743x: Add SFP support check flag
> + if (adapter->is_pci11x1x && !adapter->is_sgmii_en &&
> + adapter->is_sfp_support_en) {
> + netif_err(adapter, drv, adapter->netdev,
> + "Invalid eeprom cfg: sfp enabled with sgmii disabled");
> + return -EINVAL;
is_sgmii_en actually means PCS? An SFP might need 1000BaseX or SGMII,
phylink will tell you the mode to put the PCS into.
Andrew
Powered by blists - more mailing lists