Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: phylink: remove stale an_enabled from doc

state->an_enabled was removed by
commit 4ee9b0dcf09f ("net: phylink: remove an_enabled")
but is left in mac_config() doc, so clean it.

Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20250824013009.2443580-1-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

David Yang and committed by
Jakub Kicinski
df534e75 6d45984b

+3 -4
+3 -4
include/linux/phylink.h
··· 320 320 * If in 802.3z mode, the link speed is fixed, dependent on the 321 321 * @state->interface. Duplex and pause modes are negotiated via 322 322 * the in-band configuration word. Advertised pause modes are set 323 - * according to the @state->an_enabled and @state->advertising 324 - * flags. Beware of MACs which only support full duplex at gigabit 325 - * and higher speeds. 323 + * according to @state->advertising. Beware of MACs which only 324 + * support full duplex at gigabit and higher speeds. 326 325 * 327 326 * If in Cisco SGMII mode, the link speed and duplex mode are passed 328 327 * in the serial bitstream 16-bit configuration word, and the MAC ··· 330 331 * responsible for reading the configuration word and configuring 331 332 * itself accordingly. 332 333 * 333 - * Valid state members: interface, an_enabled, pause, advertising. 334 + * Valid state members: interface, pause, advertising. 334 335 * 335 336 * Implementations are expected to update the MAC to reflect the 336 337 * requested settings - i.o.w., if nothing has changed between two