Matteo Concas commented on a discussion on rtemslwip/greth/hw_greth.c: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149158

 > -                                 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 );

Yes, that would make my changes clearer. I have added a formatting commit 
before my work.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_149158
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to