lwIP | Add GRETH/GRETH_GBIT driver (!40)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Jun 16 15:43:33 UTC 2026
Kinsey Moore started a new discussion on rtemslwip/greth/greth_netif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152523
> + nf_state->greth_id = hw_cfg->greth_id;
> + nf_state->phy_dev.phyAddr = hw_cfg->phy_addr;
> + } else {
> + greth_debug_printf(
> + "[MSG] greth_init_dev_and_lwip_netif: No hardware configuration provided; using default GRETH ID and PHY address\n"
> + );
> + nf_state->greth_id = 0;
> + nf_state->phy_dev.phyAddr = 0;
> + }
> +
> + netif->state = nf_state;
> +
> + greth_attach = rtems_lwip_greth_driver_attach( nf_state );
> + if ( greth_attach != 0 ) {
> + ret = ERR_IF;
> + goto free_nf_state;
More gotos to address.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152523
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/c79ce4e3/attachment-0001.htm>
More information about the bugs
mailing list