testing
This commit is contained in:
1 parent
569b2f0bca
commit
232f6b5485
1 file changed
+7
-1
@@ -370,7 +370,13 @@ begin
|
||||
repeat
|
||||
cmd := device^.port^.cmd_issue; // Command Issue register
|
||||
tfd := device^.port^.tfd; // Task File Data often contains error/status info.
|
||||
device^.port^.int_status := $FFFFFFFF; // Clear any pending interrupts
|
||||
|
||||
if device^.port^.int_status <> 0 then begin
|
||||
console.writestring('AHCI: Interrupt status: ');
|
||||
console.writehexln(device^.port^.int_status);
|
||||
device^.port^.int_status := device^.port^.int_status;
|
||||
end;
|
||||
|
||||
timeout := timeout + 10;
|
||||
if timeout > 100000 then begin
|
||||
console.writestringln('AHCI: IDENTIFY command timeout');
|
||||
|
||||
Reference in new issue
Block a user