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 
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to