fix for IRQs from slave controller not working on some machines

git-svn-id: svn://kolibrios.org@1025 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2009-02-08 10:40:40 +00:00
parent bb204a2689
commit cefa38b9f8

View File

@ -569,7 +569,9 @@ high_code:
; Enable timer IRQ (IRQ0) and hard drives IRQs (IRQ14, IRQ15)
; they are used: when partitions are scanned, hd_read relies on timer
mov al, 0xFE
; Also enable IRQ2, because in some configurations
; IRQs from slave controller are not delivered until IRQ2 on master is enabled
mov al, 0xFA
out 0x21, al
mov al, 0x3F
out 0xA1, al