]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: netcp: ethss: make sgmii configuration conditional
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 17 Apr 2018 21:30:33 +0000 (17:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:00:56 +0000 (21:00 -0400)
commit775f9535dc5e53ef57d0ebd17e1d7a94c599ecce
treeabd1d5a6218b0cb633a01be9fe442c0e357c5874
parent2953586df76e76ec2e62ed05897c1d242c06874d
net: netcp: ethss: make sgmii configuration conditional

As a preparatory patch to add support for 2u cpsw hardware found on
K2G SoC, make sgmii configuration conditional. This is required
since 2u uses RGMII interface instead of SGMII and to allow for driver
re-use.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c