linux_dsm_epyc7002/drivers/net/ethernet/8390
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
..
3c503.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
3c503.h 8390: Move the 8390 related drivers 2011-08-10 19:54:25 -07:00
8390.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
8390.h ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN 2011-11-16 20:23:17 -05:00
8390p.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
apne.c ethernet: Remove casts to same type 2012-06-06 09:31:33 -07:00
ax88796.c net: phy: remove flags argument from phy_{attach, connect, connect_direct} 2013-01-14 15:11:50 -05:00
axnet_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
e2100.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
etherh.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
hp-plus.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hp.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hydra.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig drivers/net: delete 8390 based EISA drivers. 2013-01-07 10:24:26 -05:00
lib8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mac8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Makefile drivers/net: delete 8390 based EISA drivers. 2013-01-07 10:24:26 -05:00
mcf8390.c net: add support for NS8390 based eth controllers on some ColdFire CPU boards 2012-07-12 07:54:45 -07:00
ne2k-pci.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
ne-h8300.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ne.c ne2000: add the right platform device 2012-11-20 13:48:49 -05:00
pcnet_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
smc-ultra.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
stnic.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
wd.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
zorro8390.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00