net: phy: dp83867: Add SGMII helper for configuration
authorDan Murphy <dmurphy@ti.com>
Mon, 2 May 2016 20:46:02 +0000 (15:46 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 24 May 2016 16:42:05 +0000 (11:42 -0500)
commit0a71cd77290ca317ecf6f15984a91abbee741e09
treecfce0a12fcc7c5fe0f1c447f98f488914e57ab13
parent3c221af3c3bb4eadc0899f611c8b25bb95a1e09f
net: phy: dp83867: Add SGMII helper for configuration

The code assumed that if the interface is not RGMII configured
then it must be SGMII configured.  This device has the ability
to support most of the MII interfaces.  Therefore add the
helper for SGMII and only configure the device if the interface is
configured for SGMII.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/ti.c