RE: [PATCH 5/6] [v4] phylib: Support attaching to generic 10g driver

2014-01-06 Thread Shaohui Xie
ui-B21989; > aflem...@gmail.com > Subject: Re: [PATCH 5/6] [v4] phylib: Support attaching to generic 10g > driver > > From: > Date: Tue, 7 Jan 2014 10:14:25 +0800 > > > -static int phy_attach_direct(struct net_device *dev, struct > > phy_device *phydev, > &

Re: [PATCH 5/6] [v4] phylib: Support attaching to generic 10g driver

2014-01-06 Thread David Miller
From: Date: Tue, 7 Jan 2014 10:14:25 +0800 > -static int phy_attach_direct(struct net_device *dev, struct phy_device > *phydev, > +int phy_attach_direct(struct net_device *dev, struct phy_device *phydev, >u32 flags, phy_interface_t interface) Since you are changing w

[PATCH 5/6] [v4] phylib: Support attaching to generic 10g driver

2014-01-06 Thread shh.xie
From: Andy Fleming 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. Sign