aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2024-09-04 17:18:19 +0000
committerDavid S. Miller <[email protected]>2024-09-09 09:29:04 +0000
commit21c6321459aaf712c48d8f96730bbefd07b7959c (patch)
tree01b8ecd53ba00b352130448dd33a1da6cf214ffa /drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
parentnet: ethernet: fs_enet: drop unused phy_info and mii_if_info (diff)
downloadkernel-21c6321459aaf712c48d8f96730bbefd07b7959c.tar.gz
kernel-21c6321459aaf712c48d8f96730bbefd07b7959c.zip
net: ethernet: fs_enet: use macros for speed and duplex values
The PHY speed and duplex should be manipulated using the SPEED_XXX and DUPLEX_XXX macros available. Use it in the fcc, fec and scc MAC for fs_enet. Acked-by: Christophe Leroy <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Maxime Chevallier <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c')
0 files changed, 0 insertions, 0 deletions