Skip to contentSkip to conversation

QEMU 0.7.0 - IDE patch for Solaris-X86

Qemu-devel Michael McConnell 1 participant 1 message Apr 28, 2005

lore
Share & tools
lore
#0 lore raw

This is a forward-port of the patch for 0.6.1 (that I found on the web, may have been this list, a while back) needed to get Solaris-X86 to run with the IDE interface in PCI mode.

hw/ide.c renamed from hw/ide.c.orig +2 -0
@@ -500,6 +500,8 @@
 static inline void ide_set_irq(IDEState *s)
 {
     if (!(s->cmd & IDE_CMD_DISABLE_IRQ)) {
+	BMDMAState *bm = s->bmdma;
+	if(bm) bm->status |= BM_STATUS_INT;
 #ifdef TARGET_PPC
         if (s->openpic)
             openpic_set_irq(s->openpic, s->irq, 1);
Signature · 5 lines
-- Michael "Soruk" McConnell
   Eridani Star System

   MailStripper - "The easy spam filter"
   http://mailstripper.eridani.co.uk/