drivers/net/ethernet/microchip/lan743x_ethtool.h
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/microchip/lan743x_ethtool.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/microchip/lan743x_ethtool.h- Extension
.h- Size
- 2418 bytes
- Lines
- 107
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/ethtool.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _LAN743X_ETHTOOL_H
#define _LAN743X_ETHTOOL_H
#include "linux/ethtool.h"
#define LAN743X_ETH_REG_VERSION 1
enum {
ETH_PRIV_FLAGS,
ETH_ID_REV,
ETH_FPGA_REV,
ETH_STRAP_READ,
ETH_INT_STS,
ETH_HW_CFG,
ETH_PMT_CTL,
ETH_E2P_CMD,
ETH_E2P_DATA,
ETH_MAC_CR,
ETH_MAC_RX,
ETH_MAC_TX,
ETH_FLOW,
ETH_MII_ACC,
ETH_MII_DATA,
ETH_EEE_TX_LPI_REQ_DLY,
ETH_WUCSR,
ETH_WK_SRC,
/* Add new registers above */
MAX_LAN743X_ETH_COMMON_REGS
};
enum {
/* SGMII Register */
ETH_SR_VSMMD_DEV_ID1,
ETH_SR_VSMMD_DEV_ID2,
ETH_SR_VSMMD_PCS_ID1,
ETH_SR_VSMMD_PCS_ID2,
ETH_SR_VSMMD_STS,
ETH_SR_VSMMD_CTRL,
ETH_SR_MII_CTRL,
ETH_SR_MII_STS,
ETH_SR_MII_DEV_ID1,
ETH_SR_MII_DEV_ID2,
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MII_GEN2_GEN4_MPLL_CTRL0,
ETH_VR_MII_GEN2_GEN4_MPLL_CTRL1,
ETH_VR_MII_GEN2_GEN4_MPLL_STS,
ETH_VR_MII_GEN2_GEN4_LVL_CTRL,
ETH_VR_MII_GEN4_MISC_CTRL2,
ETH_VR_MII_GEN2_GEN4_MISC_CTRL0,
ETH_VR_MII_GEN2_GEN4_MISC_CTRL1,
Annotation
- Immediate include surface: `linux/ethtool.h`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.