mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
axgbe: exclude 10G modules from miibus interface
This commit is contained in:
parent
492e149d33
commit
ba48c5bc8d
1 changed files with 3 additions and 0 deletions
|
|
@ -1192,6 +1192,9 @@ xgbe_phy_sfp_external_phy(struct xgbe_prv_data *pdata)
|
|||
|
||||
phy_data->sfp_phy_avail = 0;
|
||||
|
||||
if (phy_data->sfp_base != XGBE_SFP_BASE_1000_T)
|
||||
return;
|
||||
|
||||
/* Check access to the PHY by reading CTRL1 */
|
||||
ret = xgbe_phy_i2c_mii_read(pdata, MII_BMCR);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue