LibBSD | freebsd/ofw: Fix support with PowerPC on RTEMS (!132)

Chris Johns (@chris) gitlab at rtems.org
Tue Mar 31 00:21:31 UTC 2026




Chris Johns commented on a discussion on rtemsbsd/sys/dev/mve/if_mve_nexus.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/132#note_147539

 >  
 >  #ifdef MVETH_DEBUG
 >  	printk(DRVNAME": mve_probe (entering)\n");
 >  #endif
 >  
 > -	if ( unit >= 0 && unit < MV643XXETH_NUM_DRIVER_SLOTS ) {
 > -		err = BUS_PROBE_DEFAULT;
 > -	} else {
 > -		err = ENXIO;
 > -	}
 > +	if ( BSP_mve_probe( unit ) < 0 ) {
 > +    err = ENXIO;
 > +  }
 >  
 > -	return err;
 > +  return err;

Is this the single space on the that single return statement the whole block or something else? Sorry I am not lost on what I should be looking at?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/132#note_147539
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/20260331/6fa405ea/attachment.htm>


More information about the bugs mailing list