On 25.12.2020 01:47, Yuusuke Ashizuka wrote:
> RTL9000AA/AN as 100BASE-T1 is following:
> - 100 Mbps
> - Full duplex
> - Link Status Change Interrupt
>
> Signed-off-by: Yuusuke Ashizuka
> Signed-off-by: Torii Kenichi
> ---
> drivers/net/phy/realtek.c | 51 +++
> +static int rtl9000a_ack_interrupt(struct phy_device *phydev)
> +{
> + int err;
> +
> + err = phy_read(phydev, RTL8211F_INSR);
> +
> + return (err < 0) ? err : 0;
> +}
> +
> +static int rtl9000a_config_intr(struct phy_device *phydev)
> +{
> + u16 val;
> +
> + if (phydev->inter
RTL9000AA/AN as 100BASE-T1 is following:
- 100 Mbps
- Full duplex
- Link Status Change Interrupt
Signed-off-by: Yuusuke Ashizuka
Signed-off-by: Torii Kenichi
---
drivers/net/phy/realtek.c | 51 +++
1 file changed, 51 insertions(+)
diff --git a/drivers/net/ph