From 2608b93dbb780433e93c4da5b22f6ff3139c6ddf Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 20 Oct 2016 14:37:05 -0600 Subject: [PATCH] Do not ack IRQ in ahcid, as it does not enable IRQs --- drivers/ahcid/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ahcid/src/main.rs b/drivers/ahcid/src/main.rs index d15aea9..f14955c 100644 --- a/drivers/ahcid/src/main.rs +++ b/drivers/ahcid/src/main.rs @@ -57,8 +57,8 @@ fn main() { } else if event.id == irq_fd { let mut irq = [0; 8]; if irq_file.read(&mut irq).expect("ahcid: failed to read irq file") >= irq.len() { - println!("IRQ"); - irq_file.write(&irq).expect("ahcid: failed to write irq file"); + //TODO : Test for IRQ + //irq_file.write(&irq).expect("ahcid: failed to write irq file"); } } else { println!("Unknown event {}", event.id);