Thanks,

I think I get it now.
So for example the 
https://git.rtems.org/rtems/tree/bsps/arm/atsam/net/if_atsam.c is the legacy 
one.

And https://git.rtems.org/rtems-libbsd/tree/rtemsbsd/sys/dev/atsam/if_atsam.c 
is the newer version ported to libbsd.

Best regards,

   Jan

-----Ursprüngliche Nachricht-----
Von: Sebastian Huber [mailto:sebastian.hu...@embedded-brains.de] 
Gesendet: Mittwoch, 4. Dezember 2019 15:02
An: j...@rtems.org
Cc: Sommer, Jan; rtems-us...@rtems.org
Betreff: Re: RTEMS ethernet stack and drvmgr

On 04/12/2019 14:59, Joel Sherrill wrote:
> On Wed, Dec 4, 2019, 8:54 AM Sebastian Huber 
> <sebastian.hu...@embedded-brains.de 
> <mailto:sebastian.hu...@embedded-brains.de>> wrote:
> 
>     On 04/12/2019 14:49, jan.som...@dlr.de <mailto:jan.som...@dlr.de> wrote:
>      > Hello everyone,
>      >
>      > Since I just read the question from Fernando, I was wondering if
>     the (recommended) Ethernet stack of rtems-libbsd does work with the
>     greth driver of the drvmgr as well?
>      > The greth driver, as most of the other Ethernet drivers of other
>     BSPs,  calls the ether_ifattach function at some point.
>      > In the current sources of FreeBSD the prototype of this function
>     seems to be different.
>      > Do I understand it correctly that all drivers doing that are only
>     compatible to the network stack included with "-enable-networking"?
> 
>     All drivers written for the old network stack need to be converted
>     manually to the new network stack (libbsd). We did this for at least
>     four drivers before and it is mostly a boring semi-mechanical task.
> 
> 
> The Gaisler drivers in the RTEMS source tree is for the legacy stack.

All network drivers in the RTEMS source tree are for the legacy stack.

-- 
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.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to