Hello Vipul,

its hard to believe, but the ne2000.c file is also used by some PowerPC BSPs:

/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c: In function 'ne_init_irq_handler': /home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:500:3: warning: implicit declaration of function 'rtems_interrupt_handler_install' [-Wimplicit-function-declaration]
   status = rtems_interrupt_handler_install(
   ^
/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:500:3: warning: nested extern declaration of 'rtems_interrupt_handler_install' [-Wnested-externs] /home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:503:5: error: 'RTEMS_INTERRUPT_UNIQUE' undeclared (first use in this function)
     RTEMS_INTERRUPT_UNIQUE,
     ^
/home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:503:5: note: each undeclared identifier is reported only once for each function it appears in /home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c: At top level: /home/sh/git-rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/../../i386/pc386/ne2000/ne2000.c:1155:1: warning: no previous prototype for 'rtems_ne_driver_attach' [-Wmissing-prototypes]
 rtems_ne_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
 ^

Unfortunately they don't support the legacy API. So I fear we must move the ne2000.c changes into a separate commit and postpone it.

--
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

Reply via email to