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 <[email protected]>
To: Vipul Nayyar <[email protected]>
Cc: "[email protected]" <[email protected]>
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 : [email protected]
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG._______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel