drivers: net: ethernet: cpsw: implement get phy_id via ioctl
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 11 Mar 2013 23:16:38 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Mar 2013 08:38:20 +0000 (04:38 -0400)
commit11f2c988382b880e602a005c26436043c5d2c274
tree2c18692aae9f239b5748e5e973d0d71815e5286b
parentff5b8ef2ef3af0fd7e1cf6c8c1ed9ec5afbda422
drivers: net: ethernet: cpsw: implement get phy_id via ioctl

Implement get phy_id via ioctl SIOCGMIIPHY. In switch mode active phy_id
is returned and in dual EMAC mode slave's specific phy_id is returned.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c