[rtems commit] bsp/leon3: Updat due to API changes

Sebastian Huber sebh at rtems.org
Mon Oct 26 14:10:19 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Oct 26 15:09:36 2020 +0100

bsp/leon3: Updat due to API changes

---

 bsps/sparc/leon3/net/leon_greth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/sparc/leon3/net/leon_greth.c b/bsps/sparc/leon3/net/leon_greth.c
index 7878d80..5b0c99d 100644
--- a/bsps/sparc/leon3/net/leon_greth.c
+++ b/bsps/sparc/leon3/net/leon_greth.c
@@ -42,7 +42,7 @@ int rtems_leon_greth_driver_attach(
   if (adev) {
     apb = DEV_TO_APB(adev);
     base_addr = apb->start;
-    eth_irq = apb->irq;
+    eth_irq = apb->common.irq;
 
     /* clear control register and reset NIC */
     *(volatile int *) base_addr = 0;



More information about the vc mailing list