mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
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 {
|
||||
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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user