AW: RTEMS ethernet stack and drvmgr

Jan.Sommer at dlr.de Jan.Sommer at dlr.de
Wed Dec 4 14:12:18 UTC 2019


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.huber at embedded-brains.de] 
Gesendet: Mittwoch, 4. Dezember 2019 15:02
An: joel at rtems.org
Cc: Sommer, Jan; rtems-users at 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.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
> 
>     On 04/12/2019 14:49, Jan.Sommer at dlr.de <mailto:Jan.Sommer at 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.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 users mailing list