Re: [PATCH net-next] r8152: modify rtl8152_set_speed function

From: David Miller
Date: Wed Sep 04 2019 - 18:26:51 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Mon, 2 Sep 2019 19:52:28 +0800

> First, for AUTONEG_DISABLE, we only need to modify MII_BMCR.
>
> Second, add advertising parameter for rtl8152_set_speed(). Add
> RTL_ADVERTISED_xxx for advertising parameter of rtl8152_set_speed().
> Then, the advertising settings from ethtool could be saved.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Applied.