lwIP | Add GRETH/GRETH_GBIT driver (!40)
Matteo Concas (@matteo.concas)
gitlab at rtems.org
Tue Jun 16 06:54:38 UTC 2026
Matteo Concas commented on a discussion on rtemslwip/greth/greth_netif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152482
> + * @brief Initialize semaphore and thread for interrupt
> + * @param netif Pointer to lwIP netif structure
> + * @retval ERR_OK Successful Thread and Semaphore creation
> + * @retval err_t Error in Thread or Semaphore creation
> + */
> +static err_t greth_init_control_structures( struct netif *netif )
> +{
> + err_t res;
> + sys_thread_t tx_thread_id;
> + struct greth_netif_state *nf_state;
> +
> + nf_state = netif->state;
> +
> + res = sys_sem_new( &nf_state->irq_sem, 0 );
> + if ( res != ERR_OK ) {
> + sys_arch_printk(
Changed to calls to `printk()`.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152482
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/3f693247/attachment-0001.htm>
More information about the bugs
mailing list