Re: [PATCH net-next V2 1/5] net: lan743x: Add SFP support check flag
From: Andrew Lunn
Date: Wed Sep 11 2024 - 13:07:03 EST
> + 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