From 084587ed0245098c9d28916f34aae90d96001964 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 11 Sep 2019 22:03:34 -0600 Subject: [PATCH] Add TODO to address spurious interrupts --- rtl8168d/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rtl8168d/src/main.rs b/rtl8168d/src/main.rs index d169b25ca3..6b5e676f13 100644 --- a/rtl8168d/src/main.rs +++ b/rtl8168d/src/main.rs @@ -118,6 +118,7 @@ fn main() { move |_event| -> Result> { let mut irq = [0; 8]; irq_file.read(&mut irq)?; + //TODO: This may be causing spurious interrupts if unsafe { device_irq.borrow_mut().irq() } { irq_file.write(&mut irq)?;