[rtems commit] GRETH: Interrupt Handler Uses Wrong Events

Joel Sherrill joel at rtems.org
Thu Jan 12 15:39:49 UTC 2017


Module:    rtems
Branch:    4.11
Commit:    af9143fba5f5c85709469c4ef087fbb4c2882a74
Changeset: http://git.rtems.org/rtems/commit/?id=af9143fba5f5c85709469c4ef087fbb4c2882a74

Author:    Christian Spindeldreier <spindel at spinsoft.de>
Date:      Thu Jan 12 09:36:26 2017 -0600

GRETH: Interrupt Handler Uses Wrong Events

closes #2796.

---

 c/src/lib/libbsp/sparc/shared/net/greth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/sparc/shared/net/greth.c b/c/src/lib/libbsp/sparc/shared/net/greth.c
index 13dabfe..7726799 100644
--- a/c/src/lib/libbsp/sparc/shared/net/greth.c
+++ b/c/src/lib/libbsp/sparc/shared/net/greth.c
@@ -246,7 +246,7 @@ static void greth_interrupt (void *arg)
         
         /* Send the event(s) */
         if ( events )
-            rtems_event_send (greth->daemonTid, events);
+            rtems_bsdnet_event_send(greth->daemonTid, events);
 }
 
 static uint32_t read_mii(struct greth_softc *sc, uint32_t phy_addr, uint32_t reg_addr)




More information about the vc mailing list