ENUM AT91_PM_ETH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum at91_pm_eth πŸ’–

okay bestie, so this is a page straight outta the Kernel API Manual β€” like, the actual kernel docs, not the cute ones β€” and it's describing enum at91_pm_eth, which is basically just a lil' labeled list of Ethernet controller indexes. that's it. that's the whole vibe. it's giving "small but essential" and honestly? we stan a compact enum. πŸŽ€


✨ NAME ✨

enum at91_pm_eth β€” Ethernet controller indexes πŸ¦‹

like, the indexes. the little numbers that tell you which Ethernet controller is which. nothing more, nothing less, and she's thriving.


🌸 SYNOPSIS 🌸

enum at91_pm_eth {
    AT91_PM_G_ETH ,
    AT91_PM_E_ETH ,
    AT91_PM_MAX_ETH

};

that's the whole thing, no cap β€” three constants, one enum, done. copy it exactly if you're typing it out, because the kernel does not do typos, and neither should you, bestie. πŸ’…


πŸ‘‘ Constants πŸ‘‘

okay so here's the actual cast of characters, one bullet each, no skipping:

  • AT91_PM_G_ETH β€” the gigabit Ethernet controller index πŸ”₯ that's the fast one, the main character energy one.
  • AT91_PM_E_ETH β€” the megabit Ethernet controller index πŸ’œ the chill, more modest sibling. still valid! still iconic!
  • AT91_PM_MAX_ETH β€” the max index ⭐ literally just the maximum. the ceiling. the "how many are there" number. she's a boundary marker and she knows it.
bestie reminder: these are indexes, not full driver structs. don't go assigning them to random pointers and then act surprised. πŸ™ˆ

🫢 SEE ALSO 🫢

the whole friend group, all from the kernel file ./arch/arm/mach-at91/pm.c β€” go say hi:

  • struct at91_pm_bu(9)
  • struct at91_pm_sfrbu_regs(9)
  • enum at91_pm_eth_clk(9)
  • struct at91_pm_quirk_eth(9)
  • struct at91_pm_quirks(9)
  • struct at91_soc_pm(9)
  • enum at91_pm_iomaps(9)
  • at91_pm_switch_ba_to_auto(9)

like, that's the entire group chat, and every single one is linked. no crumbs left behind. 🌈


and that's the whole page, fr fr β€” this one came out of ./arch/arm/mach-at91, dated October 2026, and it's filed under enum at91_pm_eth(9) in the Kernel API Manual. mwah, go read the source, ily, bye πŸ’–βœ¨

πŸ“¦ where this page comes from