xgmac_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xgmac_remove(9) β€” from the Kernel API Manual πŸ’…

Okay bestie, this is the Kernel API Manual page for xgmac_remove(9). It's a tiny one, but we're giving it main character energy anyway. 🫢


🌸 NAME 🌸

xgmac_remove -

Yep, the NAME section lowkey just gives you xgmac_remove - with no extra description. Minimalist. Iconic. Periodt. πŸ’…

✨ SYNOPSIS ✨

void xgmac_remove (struct platform_device *pdev );

That's the whole signature, bestie β€” void, and it takes a pointer to a struct platform_device named pdev. πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” platform device pointer. That's the whole vibe.

πŸ”₯ DESCRIPTION πŸ”₯

So when xgmac_remove does its thing, it resets the TX/RX processes, disables the MAC RX/TX changes the link status, releases the DMA descriptor rings, unregisters the MDIO bus, and unmaps the allocated memory. No cap β€” that's the full cleanup checklist from the page. 🧹✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/net/ethernet/calxeda/xgmac.c

Also go peek at these icons πŸ‘‘:


And that's a wrap! 🌈 Cute little sign-off: source/version ./drivers/net/ethernet/calxeda, dated October 2026, and the page is xgmac_remove(9). Mwah. πŸ’–

πŸ“¦ where this page comes from