2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/net/ethernet/smsc
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
..
epic100.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig
Makefile
smc91c92_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
smc91x.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
smc91x.h net: smc91x: use io{read, write}*_rep accessors instead of string functions 2012-12-10 15:43:58 -05:00
smc911x.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
smc911x.h net: smc911x: use io{read,write}*_rep accessors 2012-12-11 12:49:53 -05:00
smc9194.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
smc9194.h
smsc911x.c net: phy: remove flags argument from phy_{attach, connect, connect_direct} 2013-01-14 15:11:50 -05:00
smsc911x.h smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h 2012-01-07 12:22:11 -08:00
smsc9420.c net: phy: remove flags argument from phy_{attach, connect, connect_direct} 2013-01-14 15:11:50 -05:00
smsc9420.h