From cefa38b9f85ac521f802b59a10410ea444c9a32d Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sun, 8 Feb 2009 10:40:40 +0000 Subject: [PATCH] fix for IRQs from slave controller not working on some machines git-svn-id: svn://kolibrios.org@1025 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 3646929a2d..bf550421fc 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -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