X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=irq.c;h=4f15bb8b9f4e63e5f8114954125f3f043bf1c5f7;hb=05b758504d4d87cdba9d14c52c06b3be6347bf4d;hp=389ae75fc81358e79f6a5528c2e26799d573173b;hpb=bf20e0275f40af8a6c7db3bcbfbb20d930ff40a5;p=ppcskel.git diff --git a/irq.c b/irq.c index 389ae75..4f15bb8 100644 --- a/irq.c +++ b/irq.c @@ -14,7 +14,7 @@ Copyright (C) 2009 Andre Heider "dhewg" #include "hollywood.h" #include "ipc.h" #include "bootmii_ppc.h" -#include "ohci.h" +#include "usb/host/host.h" void irq_initialize(void) { @@ -111,12 +111,12 @@ void irq_handler(void) //sdhc_irq(); } if (hw_flags & IRQF_OHCI0) { - ohci0_irq(); + hcdi_irq(); write32(HW_PPCIRQFLAG, IRQF_OHCI0); } if (hw_flags & IRQF_OHCI1) { - write32(HW_PPCIRQFLAG, IRQF_OHCI1); //TODO: ohci1_irq(); + write32(HW_PPCIRQFLAG, IRQF_OHCI1); } hw_flags &= ~IRQF_ALL; @@ -157,5 +157,6 @@ u32 irq_kill() { void irq_restore(u32 cookie) { _CPU_ISR_Restore(cookie); + _CPU_ISR_Enable(); //wtf :/ }