diff options
| author | Maxime Chevallier <[email protected]> | 2024-09-04 17:18:19 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-09-09 09:29:04 +0000 |
| commit | 21c6321459aaf712c48d8f96730bbefd07b7959c (patch) | |
| tree | 01b8ecd53ba00b352130448dd33a1da6cf214ffa /drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |
| parent | net: ethernet: fs_enet: drop unused phy_info and mii_if_info (diff) | |
| download | kernel-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
