summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/Storage
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source/Storage')
-rw-r--r--Private/Source/Storage/ATA.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/Source/Storage/ATA.cxx b/Private/Source/Storage/ATA.cxx
index 6027e6f9..05549e7a 100644
--- a/Private/Source/Storage/ATA.cxx
+++ b/Private/Source/Storage/ATA.cxx
@@ -53,7 +53,7 @@ const char* ata_read_28(ULong lba) {
packet[1] = (UIntPtr)&buffer;
packet[4] = lba;
- rt_wait_for_io();
+ rt_wait_400ns();
return buffer;
}
@@ -70,7 +70,7 @@ const char* ata_read_48(ULong lba) {
packet[1] = (UIntPtr)&buffer;
packet[4] = lba;
- rt_wait_for_io();
+ rt_wait_400ns();
return buffer;
}
@@ -84,7 +84,7 @@ Int32 ata_write_48(ULong lba, const char* buffer) {
packet[1] = (UIntPtr)&buffer;
packet[2] = lba;
- rt_wait_for_io();
+ rt_wait_400ns();
return packet[1] == 2 ? kATAError : 0;
}
@@ -98,7 +98,7 @@ Int32 ata_write_28(ULong lba, const char* text) {
packet[1] = (UIntPtr)&text;
packet[2] = lba;
- rt_wait_for_io();
+ rt_wait_400ns();
return packet[1] == 2 ? kATAError : 0;
}