lwIP | Add GRETH/GRETH_GBIT driver (!40)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Tue Jun 16 06:35:39 UTC 2026




Matteo Concas commented on a discussion on rtemslwip/greth/greth_lwip.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152469

 > + * MAC address, initializes the TCP/IP stack, sets IP addresses, netmask,
 > + * and gateway, and adds the network interface to LwIP. It also sets the
 > + * interface as default and brings it up.
 > + *
 > + * @param net_interface Pointer to the LwIP network interface structure.
 > + * @param ipaddr        Pointer to the desired IP address (ip_addr_t).
 > + * @param netmask       Pointer to the desired network mask (ip_addr_t).
 > + * @param gateway       Pointer to the desired gateway address (ip_addr_t).
 > + * @param mac_addr      Pointer to 6-byte MAC address. If NULL, a default
 > + *                      MAC address defined by `ETH_MAC_ADDR` is used.
 > + *
 > + * @return int Status code
 > + * @retval SUCCESS       Networking started successfully
 > + * @retval NETIF_ADD_ERR Failed to add the network interface
 > + */
 > +int start_networking(

Do you mean to only have a call to `start_networking_shared()` in `start_networking()` or simply to rename the file to `netstart.c`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152469
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260616/4ca87ca9/attachment-0001.htm>


More information about the bugs mailing list