[PATCH] Updated Legacy code in i386 pc386
Vipul Nayyar
nayyar_vipul at yahoo.com
Fri Jul 26 11:06:28 UTC 2013
Hello,
Please find attached a patch for pc386 BSP & a tiny patch for arm, as Joel requested. I've removed all changes from ne2000.c
Regards
Vipul Nayyar
________________________________
From: Sebastian Huber <sebastian.huber at embedded-brains.de>
To: rtems-devel at rtems.org
Sent: Friday, 26 July 2013 2:22 PM
Subject: Re: [PATCH] Updated Legacy code in i386 pc386
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.
_______________________________________________
rtems-devel mailing list
rtems-devel at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130726/10048098/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pc386.patch
Type: text/x-patch
Size: 26795 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130726/10048098/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm.patch
Type: text/x-patch
Size: 3559 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130726/10048098/attachment-0003.bin>
More information about the devel
mailing list