Skip to content

Commit

Permalink
axgbe: exclude 10G modules from miibus interface
Browse files Browse the repository at this point in the history
  • Loading branch information
swhite2 authored and fichtner committed May 26, 2023
1 parent 9379407 commit fb81510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/dev/axgbe/xgbe-phy-v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,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) {
Expand Down

0 comments on commit fb81510

Please sign in to comment.