<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hello,</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;"><span>Please find attached a patch for pc386 BSP & a tiny patch for arm, as Joel requested. I've removed all changes from ne2000.c</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;">Regards</div><div style="color: rgb(0, 0, 0);
 font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><span style="background-color:transparent;line-height:1.22;">Vipul Nayyar </span></div><div style="color: rgb(0, 0, 0); font-size: 12.727272033691406px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><br></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Sebastian Huber <sebastian.huber@embedded-brains.de><br> <b><span style="font-weight: bold;">To:</span></b> rtems-devel@rtems.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, 26 July 2013 2:22 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re:
 [PATCH] Updated Legacy code in i386 pc386<br> </font> </div> <div class="y_msg_container"><br>Hello Vipul,<br><br>its hard to believe, but the ne2000.c file is also used by some PowerPC BSPs:<br><br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c: <br>In function 'ne_init_irq_handler':<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:500:3: <br>warning: implicit declaration of function 'rtems_interrupt_handler_install' <br>[-Wimplicit-function-declaration]<br>    status = rtems_interrupt_handler_install(<br>    ^<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:500:3: <br>warning: nested extern declaration of 'rtems_interrupt_handler_install' <br>[-Wnested-externs]<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:503:5: <br>error:
 'RTEMS_INTERRUPT_UNIQUE' undeclared (first use in this function)<br>      RTEMS_INTERRUPT_UNIQUE,<br>      ^<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:503:5: <br>note: each undeclared identifier is reported only once for each function it <br>appears in<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c: <br>At top level:<br>/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:1155:1: <br>warning: no previous prototype for 'rtems_ne_driver_attach' [-Wmissing-prototypes]<br>  rtems_ne_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)<br>  ^<br><br>Unfortunately they don't support the legacy API.  So I fear we must move the <br>ne2000.c changes into a separate commit and postpone it.<br><br>-- <br>Sebastian Huber, embedded brains GmbH<br><br>Address :
 Dornierstr. 4, D-82178 Puchheim, Germany<br>Phone   : +49 89 189 47 41-16<br>Fax     : +49 89 189 47 41-09<br>E-Mail  : <a ymailto="mailto:sebastian.huber@embedded-brains.de" href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a><br>PGP     : Public key available on request.<br><br>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>_______________________________________________<br>rtems-devel mailing list<br><a ymailto="mailto:rtems-devel@rtems.org" href="mailto:rtems-devel@rtems.org">rtems-devel@rtems.org</a><br><a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-devel</a><br><br></div> </div> </div>  </div></body></html>