gelic_alloc_card_net(9)
gelic_alloc_card_net(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil function called gelic_alloc_card_net and honestly? it's giving "setup era." it's the one that does the allocating: net_device AND card structure, both. no cap.
πΈ NAME πΈ
gelic_alloc_card_net β allocates net_device and card structure π
β¨ SYNOPSIS β¨
struct gelic_card * gelic_alloc_card_net (struct net_device **netdev );
π«Ά ARGUMENTS π«Ά
netdevβ the interface device structure π like, this is the net_device pointer situation you're handing over
π DESCRIPTION π
so here's the tea: it returns the card structure, or NULL in case of errors π (yes, NULL means something went wrong, keep an eye out).
and the card and net_device structures? they're linked to each other π literally attached. main character duo energy, fr fr.
π SEE ALSO π
the kernel file lives right here, go look:
Kernel file ./drivers/net/ethernet/toshiba/ps3_gelic_net.c
and here's the whole friend group, every single one, in order π¦:
gelic_descr_get_status(9), gelic_card_disable_txdmac(9),
gelic_card_enable_rxdmac(9), gelic_card_disable_rxdmac(9),
gelic_descr_set_status(9), gelic_card_reset_chain(9),
gelic_card_free_chain(9), gelic_card_init_chain(9),
gelic_descr_prepare_rx(9), gelic_card_release_rx_chain(9),
gelic_card_fill_rx_chain(9), gelic_card_alloc_rx_skbs(9),
gelic_descr_release_tx(9), gelic_card_release_tx_chain(9),
gelic_net_set_multi(9), gelic_net_stop(9),
gelic_card_get_next_tx_descr(9), gelic_descr_set_tx_cmdstat(9),
gelic_descr_prepare_tx(9), gelic_card_kick_txdma(9), gelic_net_xmit(9),
gelic_net_pass_skb_up(9), gelic_card_decode_one_descr(9),
gelic_net_poll(9), gelic_net_poll_controller(9), gelic_net_open(9),
gelic_net_tx_timeout_task(9), gelic_net_tx_timeout(9),
gelic_ether_setup_netdev_ops(9), gelic_net_setup_netdev(9)
that's thirty of them btw. thirty. she's popular ππ₯
ngl bestie, read the NULL return note twice. errors happen and you don't wanna be caught slipping π
okay that's the whole page, mwah π this came from ./drivers/net/ethernet/toshiba, October 2026 vintage, and it ate. 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