LibBSD | freebsd/ofw: Fix support with PowerPC on RTEMS (!132)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Mar 30 21:44:50 UTC 2026
Kinsey Moore started a new discussion on rtemsbsd/sys/dev/mve/if_mve_nexus.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/132#note_147528
>
> #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;
Formatting looks odd here.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/132#note_147528
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/20260330/48ab6bea/attachment.htm>
More information about the bugs
mailing list