LibBSD | freebsd/ofw: Fix support with PowerPC on RTEMS (!132)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Mar 31 00:30:20 UTC 2026
Kinsey Moore 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_147540
>
> #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;
On line 235, 236, and 238. It looks like this file uses tabs instead of spaces.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/132#note_147540
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/22cfbeb9/attachment-0001.htm>
More information about the bugs
mailing list