OSDN Git Service

net: stmmac: create dwmac-intel.c to contain all Intel platform
authorVoon Weifeng <weifeng.voon@intel.com>
Mon, 30 Mar 2020 17:05:10 +0000 (01:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 03:10:34 +0000 (20:10 -0700)
commit58da0cfa6cf1200b81b65aef36dfa6130b577ef6
tree120445f348658121b5c33b14a2b36d0b24453218
parent60d79ab33c4cc3c7b563cadea9e5bcf43e6e3951
net: stmmac: create dwmac-intel.c to contain all Intel platform

As stmmac_pci.c file is getting bigger and more complex, it is reasonable
to separate all the Intel specific dwmac pci device to a different file.
This move includes Intel Quark, TGL and EHL. A new kernel config
CONFIG_DWMAC_INTEL is introduced and depends on X86. For this initial
patch, all the necessary function such as probe() and exit() are identical
besides the function name.

Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c