Additional check the unassigned IRQ for IDE controller.

git-svn-id: svn://kolibrios.org@3810 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-07-11 18:32:20 +00:00
parent 1707fbc555
commit 684e14f673

View File

@ -1117,6 +1117,10 @@ end if
cmp [IDEContrProgrammingInterface], 0 cmp [IDEContrProgrammingInterface], 0
je set_interrupts_for_IDE_controllers.continue je set_interrupts_for_IDE_controllers.continue
mov ax, [IDE_Interrupt]
cmp al, 0xff
je set_interrupts_for_IDE_controllers.end_set_interrupts
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; set interrupts for IDE Controller ; set interrupts for IDE Controller
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------