Thanks for your help. I added the driver in the nexus-devices.h and it was working. I was missing the header file default-network-init.h in my application. Now I am able to link the driver to the application.
Regards, Ragunath On Tue, Apr 7, 2015 at 10:55 AM, Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: > Hello, > > do you refer to the new network stack (https://git.rtems.org/rtems-libbsd)? > There is documentation in the file 'libbsd.txt', but I have to admit its > poorly documented, mainly due to lack of time and budget. For the driver > registration see the file nexus-devices.h and the tests. > > > On 06/04/15 21:12, ragu nath wrote: >> >> Hi, >> >> What is the procedure to link a network driver to the application in >> rtems libbsd port? The drivers are compiled and available in the >> libbsd archive. I dont know how to link the driver to the application. >> >> I followed the RTEMS NETWORKING supplement document and tried defining >> the following structures. But it did not work >> >> static struct rtems_bsdnet_ifconfig netdriver_config = { >> RTEMS_BSP_NETWORK_DRIVER_NAME, >> RTEMS_BSP_NETWORK_DRIVER_ATTACH >> }; >> struct rtems_bsdnet_config rtems_bsdnet_config = { >> &netdriver_config, >> rtems_bsdnet_do_bootp, >> }; >> >> If there is any latest documentation available, pls let me know. >> >> Thanks, >> Ragunath >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel > > > -- > 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. > -- ragu _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel