drivers/net/ethernet/spacemit/Kconfig
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/spacemit/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/spacemit/Kconfig- Extension
[no extension]- Size
- 875 bytes
- Lines
- 30
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: build/configuration rule
- Status
- atlas-only
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.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
config NET_VENDOR_SPACEMIT
bool "SpacemiT devices"
default y
depends on ARCH_SPACEMIT || COMPILE_TEST
help
If you have a network (Ethernet) device belonging to this class,
say Y.
Note that the answer to this question does not directly affect
the kernel: saying N will just cause the configurator to skip all
the questions regarding SpacemiT devices. If you say Y, you will
be asked for your specific chipset/driver in the following questions.
if NET_VENDOR_SPACEMIT
config SPACEMIT_K1_EMAC
tristate "SpacemiT K1 Ethernet MAC driver"
depends on ARCH_SPACEMIT || COMPILE_TEST
depends on MFD_SYSCON
depends on OF
default m if ARCH_SPACEMIT
select PHYLIB
help
This driver supports the Ethernet MAC in the SpacemiT K1 SoC.
To compile this driver as a module, choose M here: the module
will be called k1_emac.
endif # NET_VENDOR_SPACEMIT
Annotation
- Atlas domain: Driver Families / drivers/net.
- Implementation status: atlas-only.
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.