net: ethernet: broadcom: have drivers select DIMLIB as needed

NET_VENDOR_BROADCOM is intended to control a kconfig menu only.
It should not have anything to do with code generation.
As such, it should not select DIMLIB for all drivers under
NET_VENDOR_BROADCOM.  Instead each driver that needs DIMLIB should
select it (being the symbols SYSTEMPORT, BNXT, and BCMGENET).


Fixes: 4f75da3666c0 ("linux/dim: Move implementation to .c files")
Reported-by: Geert Uytterhoeven <>
Signed-off-by: Randy Dunlap <>
Cc: Uwe Kleine-K├Ânig <>
Cc: Tal Gilboa <>
Cc: Saeed Mahameed <>
Cc: "David S. Miller" <>
Cc: Jakub Kicinski <>
Cc: Doug Ledford <>
Cc: Jason Gunthorpe <>
Cc: Leon Romanovsky <>
Cc: Or Gerlitz <>
Cc: Sagi Grimberg <>
Acked-by: Florian Fainelli <>
Reviewed-by: Leon Romanovsky <>
Signed-off-by: David S. Miller <>
1 file changed