]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: cortina: Use negotiated TX/RX pause
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 29 May 2024 14:00:01 +0000 (16:00 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 1 Jun 2024 23:07:29 +0000 (16:07 -0700)
commit15c22101db71369c022e25001a339f91cd3f8ddc
treecb0ece6588086a37c28974589ad964022f26325b
parenta967d3cee86e8e8eb15c9e12f818c59b36416001
net: ethernet: cortina: Use negotiated TX/RX pause

Instead of directly poking into registers of the PHY, use
the existing function to query phylib about this directly.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240529-gemini-phylib-fixes-v4-2-16487ca4c2fe@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cortina/gemini.c