Re: question about samsung/sxgbe/sxgbe_xpcs.c
From: Shuah Khan
Date: Tue Jan 19 2016 - 13:18:24 EST
2016-01-19 9:26 GMT-07:00 Julia Lawall <julia.lawall@xxxxxxx>:
> Hello,
>
> I was windering what is the purpose of the file
> drivers/net/ethernet/samsung/sxgbe/sxgbe_xpcs.c
>From git log and comments, it appears this driver is for
Samsung SoCs.
>
> I can't find anything that refers to it, and if I remove it from the
> makefile:
>
> @@ -1,4 +1,4 @@
> obj-$(CONFIG_SXGBE_ETH) += samsung-sxgbe.o
> samsung-sxgbe-objs:= sxgbe_platform.o sxgbe_main.o sxgbe_desc.o \
> sxgbe_dma.o sxgbe_core.o sxgbe_mtl.o sxgbe_mdio.o \
> - sxgbe_ethtool.o sxgbe_xpcs.o $(samsung-sxgbe-y)
> + sxgbe_ethtool.o $(samsung-sxgbe-y)
>
> and then make clean and recompile, I see no bad effect.
>
What is the motivation for the experiment to remove it?
This file probably gets used only on Samsung SoCs.
thanks,
-- Shuah