lwIP | Add GRETH/GRETH_GBIT driver (!40)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Jun 17 15:59:51 UTC 2026




Kinsey Moore commented on a discussion on rtemslwip/greth/greth_netif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152636

 > + * @param netif Pointer to the lwIP network interface structure associated with
 > + *              this GRETH device.
 > + *
 > + * @retval ERR_OK   Initialization completed successfully.
 > + * @retval ERR_IF   Driver attach failed, @ref greth_netif_state allocation
 > + *                  failed, or GRETH device already initialized.
 > + * @retval other    Error code returned by low-level GRETH initialization
 > + *                  functions (e.g., @ref greth_init_hw(),
 > + *                  @ref greth_init_control_structures(),
 > + *                  @ref greth_install_interrupt_handlers()).
 > + */
 > +err_t greth_init_dev_and_lwip_netif( struct netif *netif )
 > +{
 > +  err_t                     ret;
 > +  struct greth_netif_state *nf_state;
 > +  struct lwip_greth_hw_cfg *hw_cfg = netif->state;

In current documentation, there is a packages section where there is a minimal documentation set. It certainly needs to be expanded, though. https://docs.rtems.org/docs/main/user/package/lwip/index.html

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152636
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/20260617/cc745adc/attachment-0001.htm>


More information about the bugs mailing list