lwIP | Add GRETH/GRETH_GBIT driver (!40)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Apr 28 03:05:08 UTC 2026




Kinsey Moore started a new discussion on rtemslwip/greth/hw_greth.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149145

 > -                                 VENDOR_GAISLER, GAISLER_ETHMAC,
 > -                                 ambapp_find_by_idx, NULL);
 > -  if (adev) {
 > -    apb = DEV_TO_APB(adev);
 > -    base_addr = apb->start;
 > -    eth_irq = apb->common.irq;
 > +  adev = (void *) (uintptr_t) ambapp_for_each(
 > +    ambapp_plb(),
 > +    ( OPTIONS_ALL | OPTIONS_APB_SLVS ),
 > +    VENDOR_GAISLER,
 > +    GAISLER_ETHMAC,
 > +    ambapp_find_by_idx,
 > +    &dev_id
 > +  );
 > +  if ( adev ) {
 > +    apb = DEV_TO_APB( adev );

The second commit is mixing formatting changes with functional changes. Please break these out into their own commit so it's easier to evaluate the functional changes.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149145
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/20260428/9d31667b/attachment-0001.htm>


More information about the bugs mailing list