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 62d642b804
commit 2608b93dbb

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);