[rtems-libbsd commit] Change LibBSD to use shared interrupts.

Chris Johns chrisj at rtems.org
Mon Jun 27 03:48:07 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    b23da3150b3469460ae9a7b994d85aad53b19e9c
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b23da3150b3469460ae9a7b994d85aad53b19e9c

Author:    Chris Johns <chrisj at rtems.org>
Date:      Mon Jun 27 13:12:06 2016 +1000

Change LibBSD to use shared interrupts.

---

 rtemsbsd/rtems/rtems-kernel-nexus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtemsbsd/rtems/rtems-kernel-nexus.c b/rtemsbsd/rtems/rtems-kernel-nexus.c
index 675c996..a9c2427 100644
--- a/rtemsbsd/rtems/rtems-kernel-nexus.c
+++ b/rtemsbsd/rtems/rtems-kernel-nexus.c
@@ -280,7 +280,7 @@ nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
 
 		sc = rtems_interrupt_server_handler_install(RTEMS_ID_NONE,
 		    rman_get_start(res), device_get_nameunit(child),
-		    RTEMS_INTERRUPT_UNIQUE, rh, ra);
+		    RTEMS_INTERRUPT_SHARED, rh, ra);
 		if (sc == RTEMS_SUCCESSFUL) {
 			err = 0;
 		} else {
@@ -321,7 +321,7 @@ nexus_teardown_intr(device_t dev, device_t child, struct resource *res,
 
 	sc = rtems_interrupt_server_handler_install(RTEMS_ID_NONE,
 	    rman_get_start(res), device_get_nameunit(child),
-	    RTEMS_INTERRUPT_UNIQUE, rh, ra);
+	    RTEMS_INTERRUPT_SHARED, rh, ra);
 	err = sc == RTEMS_SUCCESSFUL ? 0 : EINVAL;
 #else
 	err = EINVAL;



More information about the vc mailing list