net: phy: Add phy_interface_is_sgmii to phy.h
authorDan Murphy <dmurphy@ti.com>
Mon, 2 May 2016 20:46:01 +0000 (15:46 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 24 May 2016 16:42:05 +0000 (11:42 -0500)
commit3c221af3c3bb4eadc0899f611c8b25bb95a1e09f
tree51190c303478f77b804138d6148690c2a99a720b
parent3ab72fe8075b137c238665008c356239d1e6bc54
net: phy: Add phy_interface_is_sgmii to phy.h

Add a helper to phy.h to identify whether the
phy is configured for SGMII all variables.

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