diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2024-09-04 19:18:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-09-09 10:29:04 +0100 |
commit | 21c6321459aaf712c48d8f96730bbefd07b7959c (patch) | |
tree | 01b8ecd53ba00b352130448dd33a1da6cf214ffa /net/unix/af_unix.c | |
parent | 6b576b2d44303cad06273ea2e2d5fc08907ff845 (diff) | |
download | linux-21c6321459aaf712c48d8f96730bbefd07b7959c.tar.gz linux-21c6321459aaf712c48d8f96730bbefd07b7959c.tar.bz2 linux-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 <christophe.leroy@csgroup.eu>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions