fix(atapi): wait much time before reading
This commit is contained in:
parent
9f41ddd242
commit
edbf5121e2
@ -17,7 +17,8 @@ static void busy_wait(uint16_t drive)
|
|||||||
|
|
||||||
static void wait_device_selection(uint16_t drive)
|
static void wait_device_selection(uint16_t drive)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 400; ++i)
|
for (int i = 0; i < 4000; ++i)
|
||||||
|
//printf("wait\r\n");
|
||||||
inb(drive);
|
inb(drive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user