STRUCT PCH_GBE_PRIVDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pch_gbe_privdata(9) πŸ’–

okay so this is a page from the Kernel API Manual bestie, and we're about to get so cozy with one little struct, no cap 🫢


✨ NAME ✨

struct pch_gbe_privdata β€” literally just the PCI Device ID driver data πŸ’… that's it, that's the vibe


🌸 SYNOPSIS 🌸

here's the whole glow-up, copy it exactly bestie:

struct pch_gbe_privdata {
    bool phy_tx_clk_delay;
    bool phy_disable_hibernate;
    int (*platform_init)(struct pci_dev *pdev);
 };

like, three little members and they're all doing main character energy ✨


πŸŽ€ Members πŸŽ€

  • phy_tx_clk_delay β€” a bool, and what it does is configure the PHY TX delay in software πŸ¦‹ so yes, software is running the delay situation, iykyk
  • phy_disable_hibernate β€” also a bool, and it disables PHY hibernation πŸ’€βž‘οΈπŸš« like we're waking that PHY up and telling it no naps allowed periodt
  • platform_init β€” the platform initialization callback πŸ”₯ it's an int (*)(struct pci_dev *pdev) and here's the important bit: it gets called from probe, prior to PHY initialization ⭐ so it shows up before the PHY stuff happens, that ordering is not a suggestion bestie

🌈 SEE ALSO 🌈

the kernel file is ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h and it's giving whole friend group πŸ‘‘

  • struct pch_gbe_mac_info(9)
  • struct pch_gbe_phy_info(9)
  • struct pch_gbe_rx_desc(9)
  • struct pch_gbe_tx_desc(9)
  • struct pch_gbe_buffer(9)
  • struct pch_gbe_tx_ring(9)
  • struct pch_gbe_rx_ring(9)
  • struct pch_gbe_hw_stats(9)
  • struct pch_gbe_adapter(9)

all of them, every single one, go read them after this πŸ’œ


ngl there are no warnings on this page, which is a slay, but also remember: the facts above are the entire facts, so don't go reading extra behaviour into these bools that the page didn't say 😭

and that's the whole page bestie!! this gem came from ./drivers/net/ethernet/oki-sem... (that's the truncated-looking source path, keep it as-is πŸ™ˆ), dated October 2026, and it's all about struct pch_gbe_privdata(9) πŸ’–πŸŽ€πŸ¦‹ see you in the next manpage, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from