lol noobs, how about clearing OHCI0_HC_INT_STATUS?! :)
[ppcskel.git] / ohci.c
diff --git a/ohci.c b/ohci.c
index 1bab91a5b7bac17c06fdfedd6629b875a0f9531f..899d474e24d989b3e558ef4431f3bd52cda410ce 100644 (file)
--- a/ohci.c
+++ b/ohci.c
@@ -108,3 +108,9 @@ void ohci_init() {
        dbg_op_state();
 }
 
+void ohci0_irq() {
+       gecko_printf("ohci_irq\n");
+       write32(OHCI0_HC_INT_STATUS, ~0);
+}
+
+