lan78xx_set_fixed_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the lan78xx_set_fixed_link(9) page in the Kernel API Manual ✨ this one is all about lan78xx_set_fixed_link β€” Set fixed link configuration for LAN7801 πŸ’…


✨ SYNOPSIS ✨

int lan78xx_set_fixed_link (struct lan78xx_net *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the LAN78xx device, periodt 🫢

🌸 DESCRIPTION 🌸

so this function uses fixed link configuration with 1 Gbps full duplex ✨ it’s for special cases like EVB-KSZ9897-1, where LAN7801 acts as a USB-to-Ethernet interface to a switch without a visible PHY πŸ‘‘ no cap, that’s the whole setup πŸ’–

πŸ”₯ RETURN πŸ”₯

it returns a pointer to the registered fixed PHY, or ERR_PTR on error 😭 that’s the vibe check, fr fr πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹


made with πŸ’– from ./drivers/net/usb, dated October 2026 β€” slay and goodbye bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from