atl2_open(9)
π atl2_open(9) π
okay so bestie, welcome to the Kernel API Manual β today's main character is atl2_open, and honestly? she's the one who wakes the interface up. πΈ
β¨ NAME β¨
atl2_open β Called when a network interface is made active π¦
β¨ SYNOPSIS β¨
int atl2_open (struct net_device *netdev );
β¨ ARGUMENTS β¨
netdevβ network interface device structure π that's the thing you're opening, bestie
β¨ DESCRIPTION β¨
Lowkey the whole deal here: it returns 0 on success, and a negative value on failure. That's it. That's the contract. π
fr fr, check that return value. Negative means something went wrong and you do NOT get to pretend otherwise. π
The open entry point is called when a network interface is made active by the system (IFF_UP). At this point all resources needed for transmit and receive operations are allocated, the interrupt handler is registered with the OS, the watchdog timer is started, and the stack is notified that the interface is ready. π
So picture it: the system flips the interface to IFF_UP, and atl2_open is the girl who shows up and gets everything ready before the party starts:
- π all the resources needed for transmit and receive operations get allocated
- β the interrupt handler is registered with the OS
- π₯ the watchdog timer is started
- π the stack is notified that the interface is ready
four steps, zero skips, that's the whole glow-up. periodt. β¨
β¨ SEE ALSO β¨
Kernel file ./drivers/net/ethernet/atheros/atlx/atl2.c β yeah, that's where she lives, go say hi π«Ά
and her whole friend group, no cap:
atl2_sw_init(9)atl2_set_multi(9)atl2_configure(9)atl2_setup_ring_resources(9)atl2_irq_enable(9)atl2_irq_disable(9)atl2_intr(9)atl2_free_ring_resources(9)atl2_close(9)atl2_change_mtu(9)atl2_set_mac(9)atl2_tx_timeout(9)atl2_watchdog(9)atl2_phy_config(9)atl2_link_chg_task(9)atl2_probe(9)atl2_remove(9)atl2_check_options(9)
and that's the page, bestie!! ily, go read the source π
signing off from ./drivers/net/ethernet/atheros... β dated October 2026 πβ¨ catch you in the next manpage, mwah π
π¦ 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