Skip to main content

probe_e1000_pci

Function probe_e1000_pci 

Source
pub fn probe_e1000_pci(device_ids: &[u16]) -> Option<ProbeResult>
Expand description

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

device_ids lists the PCI device IDs this driver supports. Only devices whose subclass is ETHERNET or OTHER are accepted.

Returns None when no matching device is found or when MMIO mapping fails for every candidate.