STRUCT PCH_GBE_ADAPTER(9)
π struct pch_gbe_adapter(9) π
okay so bestie, welcome to the Kernel API Manual page for struct pch_gbe_adapter(9) β and yes, it's giving "board's own private little data stash" energy. This is the board specific private data structure, and we're gonna walk through every field like it's a group chat. π«Ά
β¨ NAME β¨
struct pch_gbe_adapter β board specific private data structure. That's the whole name section; iconic, concise, no notes π
πΈ SYNOPSIS πΈ
Here's the struct in all its glory, copied exactly:
struct pch_gbe_adapter {
spinlock_t stats_lock;
spinlock_t ethtool_lock;
atomic_t irq_sem;
struct net_device *netdev;
struct pci_dev *pdev;
int irq;
struct net_device *polling_netdev;
struct napi_struct napi;
struct pch_gbe_hw hw;
struct pch_gbe_hw_stats stats;
struct work_struct reset_task;
struct mii_if_info mii;
struct timer_list watchdog_timer;
u32 wake_up_evt;
u32 *config_space;
unsigned long led_status;
struct pch_gbe_tx_ring *tx_ring;
struct pch_gbe_rx_ring *rx_ring;
unsigned long rx_buffer_len;
unsigned long tx_queue_len;
bool rx_stop_flag;
int hwts_tx_en;
int hwts_rx_en;
struct pci_dev *ptp_pdev;
struct pch_gbe_privdata *pdata;
};
π Members π
Tiny heads-up: the original gives no member blurb for a few of these fields, so I'm not inventing lore β they still get a bullet because every field deserves its moment. π
stats_lockβ spinlock structure for status.ethtool_lockβ spinlock structure for ethtool.irq_semβ semaphore for interrupt.netdevβ pointer of network device structure.pdevβ pointer of pci device structure.irqβ the original has no member blurb for this one; it's in the synopsis, and I'm leaving it exactly as mysterious as it came. πpolling_netdevβ pointer of polling network device structure.napiβ NAPI structure.hwβ the original says "Pointer of hardware structure" and I'm just relaying the message πstatsβ hardware status.reset_taskβ reset task.miiβ MII information structure.watchdog_timerβ watchdog timer list.wake_up_evtβ wake up event.config_spaceβ configuration space.led_statusβ LED status.tx_ringβ pointer of Tx descriptor ring structure.rx_ringβ pointer of Rx descriptor ring structure.rx_buffer_lenβ receive buffer length.tx_queue_lenβ transmit queue length.rx_stop_flagβ no member blurb in the original for this one; still in the struct, still valid, no made-up facts. πhwts_tx_enβ no member blurb in the original for this one; it's in the synopsis and I will not invent a meaning. π«Άhwts_rx_enβ no member blurb in the original for this one either; same energy, same rule. πptp_pdevβ no member blurb in the original; it's literally just chilling in the struct. π¦pdataβ no member blurb in the original; present in the synopsis, mysterious in the Members list, periodt. π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h β and the full squad is:
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_privdata(9)
footer check, bestie: source/version is ./drivers/net/ethernet/oki-sem..., date is October 2026 β that's the cute little sign-off, 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