linux_dsm_epyc7002/drivers/net
Stas Sergeev 868a4215be net: phy: fixed_phy: handle link-down case
fixed_phy_register() currently hardcodes the fixed PHY link to 1, and
expects to find a "speed" parameter to provide correct information
towards the fixed PHY consumer.

In a subsequent change, where we allow "managed" (e.g: (RS)GMII in-band
status auto-negotiation) fixed PHYs, none of these parameters can be
provided since they will be auto-negotiated, hence, we just provide a
zero-initialized fixed_phy_status to fixed_phy_register() which makes it
fail when we call fixed_phy_update_regs() since status.speed = 0 which
makes us hit the "default" label and error out.

Without this change, we would also see potentially inconsistent
speed/duplex parameters for fixed PHYs when the link is DOWN.

CC: netdev@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>
[florian: add more background to why this is correct and desirable]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-21 16:12:55 -07:00
..
appletalk
arcnet drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
bonding bonding: trivial: remove unused variables 2015-07-20 12:50:32 -07:00
caif
can can: replace timestamp as unique skb attribute 2015-07-12 21:13:22 +02:00
cris
dsa net: dsa: bcm_sf2: Do not override speed settings 2015-07-21 16:12:55 -07:00
ethernet cxgb4 : Fill DCB priority in vlan control headers 2015-07-21 00:23:23 -07:00
fddi
hamradio NET: hamradio: Fix IP over bpq encapsulation. 2015-07-08 14:09:03 -07:00
hippi
hyperv hv_netvsc: Add close of RNDIS filter into change mtu call 2015-07-15 21:11:31 -07:00
ieee802154
ipvlan
irda
phy net: phy: fixed_phy: handle link-down case 2015-07-21 16:12:55 -07:00
plip
ppp
slip
team
usb qmi_wwan: Add support for Dell Wireless 5809e 4G Modem 2015-07-21 00:31:11 -07:00
vmxnet3 vmxnet3: prevent receive getting out of sequence on napi poll 2015-07-08 23:36:11 -07:00
wan Doc: z8530book: Fix typo in API-z8530-sync-txdma-open.html 2015-07-10 23:45:31 -07:00
wimax
wireless Minor merge needed, due to function move. 2015-07-01 10:49:25 -07:00
xen-netback xen-netback: remove duplicated function definition 2015-07-08 14:12:53 -07:00
dummy.c
eql.c
geneve.c
ifb.c ifb: add multiqueue operation 2015-07-08 16:00:09 -07:00
Kconfig A very significant modification to NTB in this series. 2015-07-04 14:07:47 -07:00
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-07-13 11:18:25 -07:00
Makefile
mdio.c
mii.c
netconsole.c netconsole: implement extended console support 2015-06-25 17:00:39 -07:00
nlmon.c
ntb_netdev.c NTB: Split ntb_hw_intel and ntb_transport drivers 2015-07-04 14:05:49 -04:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c virtio/vhost: cross endian support 2015-07-03 16:02:25 -07:00
veth.c
virtio_net.c
vxlan.c openvswitch: Use regular VXLAN net_device device 2015-07-21 10:39:07 -07:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-07-01 14:58:07 -07:00