[PATCH] Updated Legacy code in arm rtl22xx

Vipul Nayyar nayyar_vipul at yahoo.com
Fri Jul 12 15:30:36 UTC 2013


Ok, So before sending the updated patch I'll list in advance what I'm gonna change, so that we don't have to go through this again.

1) Change cs8900_isr to static. The sample code would be:
static void cs8900_isr(void *arg)
{
    cs8900_device *cs = arg;
    cs8900_interrupt(LPC22xx_INTERRUPT_EINT2, cs);
}

2)There don't seem to be any declarations for a global function in the network.c . So, no problem there.

Regards
Vipul Nayyar 



________________________________
 From: Sebastian Huber <sebastian.huber at embedded-brains.de>
To: Vipul Nayyar <nayyar_vipul at yahoo.com> 
Cc: "rtems-devel at rtems.org" <rtems-devel at rtems.org> 
Sent: Friday, 12 July 2013 8:45 PM
Subject: Re: [PATCH] Updated Legacy code in arm rtl22xx
 

On 07/12/2013 02:27 PM, Vipul Nayyar wrote:
> I don't understand, why cs8900_isr() cannot be made to pass cs8900_device *cs
> like I did in my patch. From where is this function is called ?

You can look at the sources to find this out.  Start with 
bsp_interrupt_handler_dispatch().

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130712/06d2b316/attachment-0001.html>


More information about the devel mailing list