netdev_boot_setup_check(9)
β¨ netdev_boot_setup_check(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil kernel function that does exactly one job and does it iconically β checking whether your netdevice got any settings handed to it at boot time.
π NAME π
netdev_boot_setup_check β check boot time settings, that's literally it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
int netdev_boot_setup_check (struct net_device *dev );
like yes, it takes one (1) argument, it returns an int, we love a low-maintenance king π
π ARGUMENTS π
devβ the netdevice π«Ά (the actual network device we're checking on, main character energy fr fr)
β¨ DESCRIPTION β¨
So here's the tea β β this function checks the boot time settings for the device. The found settings get set for the device so they can be used later in the device probing. Like it's doing the pre-work so probing doesn't have to π
And the return value? super simple, no cap:
- returns
0if no settings found - returns
1if they are found π₯
that's it, that's the function, she's efficient π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/8390/ne.c netdev_boot_base(9)netdev_boot_setup_add(9)
go read those too, iykyk πβ¨
ngl this whole page lives in./drivers/net/ethernet/8390and it's dated October 2026 β so yeah, mark your calendars bestie ποΈπ and that's the wholeKernel API Manualentry, periodt. ππ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms