]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
phylib: Support attaching to generic 10g driver
authorAndy Fleming <afleming@gmail.com>
Fri, 10 Jan 2014 06:27:54 +0000 (14:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jan 2014 22:29:49 +0000 (14:29 -0800)
commit257184d7cc03519e1ea37b421879767b4194ce8c
tree2d9d523b12f6a35788d60377f9c532cdb87db27c
parent124059fd53af0ce62220473f144cf03352dc08f1
phylib: Support attaching to generic 10g driver

phy_attach_direct() may now attach to a generic 10G driver. It can
also be used exactly as phy_connect_direct(), which will be useful
when using of_mdio, as phy_connect (and therefore of_phy_connect)
start the PHY state machine, which is currently irrelevant for 10G
PHYs.

Signed-off-by: Andy Fleming <afleming@gmail.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h