PERFORCE change 134662 for review
Olivier Houchard
cognet at FreeBSD.org
Sat Feb 2 10:53:27 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134662
Change 134662 by cognet at cognet-mips on 2008/02/02 18:53:25
Enable interrupts in nexus_setup_intr() for octeon for now.
That's probably not the best place to do it, and it should be moved
later, but that's what the cavium port does.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/nexus.c#2 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/nexus.c#2 (text+ko) ====
@@ -183,7 +183,11 @@
cpu_establish_hardintr(device_get_nameunit(child), filt, intr, arg,
irq, flags, cookiep);
+#ifdef TARGET_OCTEON
+ intr_enable();
+#else
intr_restore(sr);
+#endif
return (0);
}
More information about the p4-projects
mailing list