phy: realtek: enable master mode configuration for RTL8211F
The PHY has an issue when operating in gigabit slave mode. It not able to transmit or receive any packet in the slave mode. Thus, this patch enable the master mode configuration of the phy. Signed-off-by: Mohamad Noor Alim Hussin <mnalim@efinixinc.com>
This commit is contained in:
@@ -240,6 +240,10 @@ static int rtl8211f_config_init(struct phy_device *phydev)
|
||||
val_rxdly ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
/* RTL8211F has an issue when operating in Gigabit slave mode */
|
||||
phy_set_bits(phydev, MII_CTRL1000,
|
||||
CTL1000_ENABLE_MASTER | CTL1000_AS_MASTER);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user