linux/Documentation
Florian Fainelli f9a8f83b04 net: phy: remove flags argument from phy_{attach, connect, connect_direct}
The flags argument of the phy_{attach,connect,connect_direct} functions
is then used to assign a struct phy_device dev_flags with its value.
All callers but the tg3 driver pass the flag 0, which results in the
underlying PHY drivers in drivers/net/phy/ not being able to actually
use any of the flags they would set in dev_flags. This patch gets rid of
the flags argument, and passes phydev->dev_flags to the internal PHY
library call phy_attach_direct() such that drivers which actually modify
a phy device dev_flags get the value preserved for use by the underlying
phy driver.

Acked-by: Kosta Zertsekel <konszert@marvell.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-14 15:11:50 -05:00
..
2012-12-15 13:03:48 -08:00
2012-09-09 10:35:39 +02:00
2011-09-27 18:08:04 +02:00
2010-02-24 13:51:32 +01:00
2012-04-03 13:09:18 +02:00
2012-10-08 13:50:12 +10:30
2012-12-17 17:15:22 -08:00
2011-09-27 18:08:04 +02:00
2012-07-18 18:35:57 -07:00
2011-03-31 11:26:23 -03:00
2012-07-09 16:42:11 -04:00
2011-11-02 16:07:02 -07:00
2012-10-02 17:26:42 -07:00
2011-09-27 18:08:04 +02:00
2012-11-11 18:10:46 -08:00
2012-12-18 21:10:22 -08:00
2010-04-08 11:34:34 +02:00
2012-03-16 20:35:01 +00:00
2011-03-31 11:26:23 -03:00
2012-07-29 21:11:05 -03:00
2012-12-10 15:54:27 +01:00
2012-12-05 23:52:10 +00:00
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2012-02-28 16:05:06 +01:00
2011-09-27 18:08:04 +02:00
2011-03-31 11:26:23 -03:00
2010-03-16 11:47:56 +01:00
2012-01-02 13:04:55 +01:00