lwIP | Add GRETH/GRETH_GBIT driver (!40)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Jun 15 22:29:05 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_152378

 > + * @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(

I would suggest using standard printk. This is another historical tms570ism that I would like to see go away.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152378
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/20260615/ae65da37/attachment.htm>


More information about the bugs mailing list