diff --git a/kernel/Cargo.lock b/kernel/Cargo.lock index 53679e5c..9b43ed7c 100644 --- a/kernel/Cargo.lock +++ b/kernel/Cargo.lock @@ -196,7 +196,7 @@ dependencies = [ [[package]] name = "isomorphic_drivers" version = "0.1.0" -source = "git+https://github.com/rcore-os/isomorphic_drivers#642e139b4c4a06a75d9530e9d60a33c514aea060" +source = "git+https://github.com/rcore-os/isomorphic_drivers#a564ac855887a823dac80529ec4138194583905d" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "spin 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/kernel/src/drivers/net/ixgbe.rs b/kernel/src/drivers/net/ixgbe.rs index 17ba90a7..8adfcb69 100644 --- a/kernel/src/drivers/net/ixgbe.rs +++ b/kernel/src/drivers/net/ixgbe.rs @@ -238,6 +238,8 @@ pub fn ixgbe_init( } } let ixgbe = ixgbe::IXGBEDriver::init(Provider::new(), header, size); + ixgbe.enable_irq(); + let ethernet_addr = EthernetAddress::from_bytes(&ixgbe.get_mac().as_bytes()); let net_driver = IXGBEDriver {