<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><span>Hello,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span>Please suggest modifications if required in arm csb336 and arm csb337 patch that I submitted, so that I can move things to a fast track. I really need to perfect these first patches, in order to know that the code that I'm updating is being done in the right way or not.</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style:
normal;"><span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;"><span><div style="background-color: transparent;"><font size="2">commit 6130c92254089c412ea9f135503901f898fc0fc1</font></div><div style="background-color: transparent;"><font size="2">Author: Vipul Nayyar <nayyar_vipul@yahoo.com></font></div><div style="background-color: transparent;"><font size="2">Date: Tue Jul 2 11:58:09 2013 +0530</font></div><div style="background-color: transparent;"><font size="2"><br></font></div><div style="background-color: transparent;"><font size="2"> Updated Legacy code in arm csb337</font></div><div style="background-color: transparent;"><font size="2"><br></font></div><div style="background-color: transparent;"><font size="2">diff --git
a/c/src/lib/libbsp/arm/csb337/network/network.c b/c/src/lib/libbsp/arm/csb337/network/network.c</font></div><div style="background-color: transparent;"><font size="2">index e31bcc0..3a02073 100644</font></div><div style="background-color: transparent;"><font size="2">--- a/c/src/lib/libbsp/arm/csb337/network/network.c</font></div><div style="background-color: transparent;"><font size="2">+++ b/c/src/lib/libbsp/arm/csb337/network/network.c</font></div><div style="background-color: transparent;"><font size="2">@@ -358,6 +358,7 @@ void at91rm9200_emac_init(void *arg)</font></div><div style="background-color: transparent;"><font size="2"> {</font></div><div style="background-color: transparent;"><font size="2"> at91rm9200_emac_softc_t *sc = arg;</font></div><div style="background-color: transparent;"><font size="2"> struct ifnet *ifp = &sc->arpcom.ac_if;</font></div><div
style="background-color: transparent;"><font size="2">+ rtems_status_code sc = RTEMS_SUCCESSFUL;</font></div><div style="background-color: transparent;"><font size="2"> </font></div><div style="background-color: transparent;"><font size="2"> /*</font></div><div style="background-color: transparent;"><font size="2"> *This is for stuff that only gets done once (at91rm9200_emac_init()</font></div><div style="background-color: transparent;"><font size="2">@@ -382,7 +383,16 @@ void at91rm9200_emac_init(void *arg)</font></div><div style="background-color: transparent;"><font size="2"> AIC_SMR_REG(AIC_SMR_EMAC) = AIC_SMR_PRIOR(EMAC_INT_PRIORITY);</font></div><div style="background-color: transparent;"><font size="2"> </font></div><div style="background-color: transparent;"><font size="2"> /* install the interrupt handler */</font></div><div
style="background-color: transparent;"><font size="2">- BSP_install_rtems_irq_handler(&at91rm9200_emac_isr_data);</font></div><div style="background-color: transparent;"><font size="2">+ sc = rtems_interrupt_handler_install(</font></div><div style="background-color: transparent;"><font size="2">+ at91rm9200_emac_isr_data.name,</font></div><div style="background-color: transparent;"><font size="2">+ "Network",</font></div><div style="background-color: transparent;"><font size="2">+ RTEMS_INTERRUPT_UNIQUE,</font></div><div style="background-color: transparent;"><font size="2">+ at91rm9200_emac_isr_data.hdl,</font></div><div style="background-color: transparent;"><font size="2">+ at91rm9200_emac_isr_data.handle</font></div><div style="background-color: transparent;"><font size="2">+ );</font></div><div
style="background-color: transparent;"><font size="2">+ if (sc != RTEMS_SUCCESSFUL) {</font></div><div style="background-color: transparent;"><font size="2">+ return 0;</font></div><div style="background-color: transparent;"><font size="2">+ }</font></div><div style="background-color: transparent;"><font size="2"> </font></div><div style="background-color: transparent;"><font size="2"> /* EMAC doesn't support promiscuous, so ignore requests */</font></div><div style="background-color: transparent;"><font size="2"> if (ifp->if_flags & IFF_PROMISC) {</font></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 13px; font-style: normal;"><br></div></span></div><div style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div
style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Regards</div><div style="font-family: arial, helvetica, clean, sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><span style="background-color:transparent;line-height:1.22;">Vipul Nayyar </span></div><div style="font-family: arial, helvetica, clean, sans-serif; font-size: 12.727272033691406px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div></div></body></html>