Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 18:53:26 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134662 for review
Message-ID:  <200802021853.m12IrQdN053627@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134662

Change 134662 by cognet@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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802021853.m12IrQdN053627>