Do not ack IRQ in ahcid, as it does not enable IRQs

This commit is contained in:
Jeremy Soller
2016-10-20 14:37:05 -06:00
parent 6b60fd6c59
commit 71a9795139
+2 -2
View File
@@ -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);