[PATCH] Updated Legacy code in i386 pc386

Vipul Nayyar nayyar_vipul at yahoo.com
Tue Jul 23 14:35:58 UTC 2013


Hello,

1) Please see line 184: static struct ep_softc ep_softc[ NWDDRIVER ]; 
The object created is indeed static. Are you saying something else ?

2) Changed ' rtems_isr ap_interrupt_handler()' to 
static rtems_isr ap_interrupt_handler(void *arg)
{
  struct ep_softc *sc = (struct ep_softc *)arg;

  /* de-activate any pending interrrupt, and sent and event to interrupt task
   * to process all events required by this interrupt.
   */
  outw( BASE + EP_COMMAND, SET_INTR_MASK ); /* disable all Ints */
  rtems_bsdnet_event_send( sc->rxDaemonTid, INTERRUPT_EVENT );
}
 

3) Inserted clockoff() in it's right place.

4) Changed parameters to void * in function definition & prototypes.
5) Changed parameters to void * in function definition & prototypes.


Hoping that these changes should correct the errors.

Regards
Vipul Nayyar 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130723/be6557e8/attachment-0001.html>


More information about the devel mailing list