mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
net: stmmac: starfive: use PHY_INTF_SEL_x to select PHY interface
Use the common dwmac definitions for the PHY interface selection field. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Link: https://patch.msgid.link/E1vIjUA-0000000Dqtb-0AfP@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
f06620091f
commit
f0917b4753
@@ -15,8 +15,8 @@
|
||||
|
||||
#include "stmmac_platform.h"
|
||||
|
||||
#define STARFIVE_DWMAC_PHY_INFT_RGMII 0x1
|
||||
#define STARFIVE_DWMAC_PHY_INFT_RMII 0x4
|
||||
#define STARFIVE_DWMAC_PHY_INFT_RGMII PHY_INTF_SEL_RGMII
|
||||
#define STARFIVE_DWMAC_PHY_INFT_RMII PHY_INTF_SEL_RMII
|
||||
#define STARFIVE_DWMAC_PHY_INFT_FIELD 0x7U
|
||||
|
||||
#define JH7100_SYSMAIN_REGISTER49_DLYCHAIN 0xc8
|
||||
|
||||
Reference in New Issue
Block a user