Somil Gupta created a merge request: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/126

Project:Branches: somil/rtems-libbsd:fix-duplicate-driver to 
rtems/pkg/rtems-libbsd:7-freebsd-14
Author:   Somil Gupta



## Summary

libbsd: remove duplicate miibus DRIVER_MODULE from if_smc_nexus.c

Building rtems-libbsd results in conflicting or missing SMC driver
module symbols due to DRIVER_MODULE(miibus, smc, miibus_driver, 0, 0)
being present in both if_smc.c and if_smc_nexus.c.

The miibus driver module is already defined in if_smc.c, so keeping the
same macro in if_smc_nexus.c leads to duplicate or unresolved symbols
during linking.

Remove the duplicate DRIVER_MODULE from if_smc_nexus.c to resolve the
build issue.
fixes #77


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/126
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