Skip to main content

set_nic_device

Function set_nic_device 

Source
pub fn set_nic_device(dev: Arc<dyn NetworkDevice>, irq: u8)
Expand description

Store a NIC device reference and its IRQ line for the IDT handler.

Called from NIC drivers (e1000_drv, e1000e_drv, …) after successful initialisation.