diff --git a/src/drivers/atapi/mod.rs b/src/drivers/atapi/mod.rs index b66db0e..5e8d67b 100644 --- a/src/drivers/atapi/mod.rs +++ b/src/drivers/atapi/mod.rs @@ -209,10 +209,12 @@ impl ATABus { fn select_delay(&mut self) { unsafe { - self.dcr.read(); - self.dcr.read(); - self.dcr.read(); - self.dcr.read(); + for _ in 0..100 { + self.dcr.read(); + self.dcr.read(); + self.dcr.read(); + self.dcr.read(); + } } }