Skip to main content

Module common

Module common 

Source
Expand description

Shared utilities for Intel E1000-family NIC drivers.

Contains the kernel DMA allocator, the common PCI probe + MMIO mapping logic, and a generic KernelE1000Adapter that implements NetworkDevice for both the legacy e1000 and the e1000e drivers.

Structs§

KernelDma
Kernel-side DMA allocator backed by the physical buddy allocator.
KernelE1000Adapter
Wraps E1000Nic behind a SpinLock and implements NetworkDevice.
ProbeResult
Result of a successful PCI probe for an E1000-family device.

Functions§

probe_e1000_pci
Probe PCI for an E1000-family NIC, map its MMIO BAR, and return a ProbeResult ready for hardware init.