[PATCH] Updated Legacy code in i386 pc386

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 26 08:52:03 UTC 2013


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  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list