RTEMS | powerpc/beatnik: Convert MOTLoad GEV variables into env variables (!1276)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jun 4 22:20:36 UTC 2026
Kinsey Moore started a new discussion on bsps/powerpc/beatnik/start/bspstart.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_151862
> printk("Number of PCI buses found is : %d\n", pci_bus_count());
> #endif
>
> + motload_gev_set_nvbase(BSP_NVRAM_BASE_ADDR);
> + if (board_type == MVME5500) {
> + motload_gev_set_net_unit(1);
> + motload_gev_set_net_label(1, "em0");
> + } else {
> + motload_gev_set_net_unit(1);
> + motload_gev_set_net_unit(2);
> + motload_gev_set_net_label(1, "em0");
> + motload_gev_set_net_label(2, "em1");
> + }
Can the net 1 calls be hoisted out of the if since they're common?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1276#note_151862
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/20260604/a70b93ec/attachment-0001.htm>
More information about the bugs
mailing list