Do not print the data from the BAR's if IDE controller is not found .

git-svn-id: svn://kolibrios.org@4611 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2014-03-04 20:22:14 +00:00
parent 1a23d648fd
commit feb4d70501

View File

@ -800,7 +800,7 @@ include 'detect/dev_fd.inc'
; START of initialisation IDE ATA code ; START of initialisation IDE ATA code
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
cmp [IDEContrProgrammingInterface], 0 cmp [IDEContrProgrammingInterface], 0
je @f je set_interrupts_for_IDE_controllers.continue
mov esi, boot_disabling_ide mov esi, boot_disabling_ide
call boot_log call boot_log
@ -878,9 +878,6 @@ include 'detect/sear_par.inc'
cmp [IDEContrRegsBaseAddr], 0 cmp [IDEContrRegsBaseAddr], 0
setnz [dma_hdd] setnz [dma_hdd]
cmp [IDEContrProgrammingInterface], 0
je set_interrupts_for_IDE_controllers.continue
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------
; set interrupts for IDE Controller ; set interrupts for IDE Controller
;----------------------------------------------------------------------------- ;-----------------------------------------------------------------------------