Do not ack IRQ in ahcid, as it does not enable IRQs
This commit is contained in:
parent
62d642b804
commit
2608b93dbb
|
@ -57,8 +57,8 @@ fn main() {
|
||||||
} else if event.id == irq_fd {
|
} else if event.id == irq_fd {
|
||||||
let mut irq = [0; 8];
|
let mut irq = [0; 8];
|
||||||
if irq_file.read(&mut irq).expect("ahcid: failed to read irq file") >= irq.len() {
|
if irq_file.read(&mut irq).expect("ahcid: failed to read irq file") >= irq.len() {
|
||||||
println!("IRQ");
|
//TODO : Test for IRQ
|
||||||
irq_file.write(&irq).expect("ahcid: failed to write irq file");
|
//irq_file.write(&irq).expect("ahcid: failed to write irq file");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
println!("Unknown event {}", event.id);
|
println!("Unknown event {}", event.id);
|
||||||
|
|
Loading…
Reference in a new issue