linux-stable/drivers/net
Andrew Lunn 08d28c1840 net: dsa: mv88e6xxx: Work around mv886e6161 SERDES missing MII_PHYSID2
[ Upstream commit ddc49acb65 ]

We already have a workaround for a couple of switches whose internal
PHYs only have the Marvel OUI, but no model number. We detect such
PHYs and give them the 6390 ID as the model number. However the
mv88e6161 has two SERDES interfaces in the same address range as its
internal PHYs. These suffer from the same problem, the Marvell OUI,
but no model number. As a result, these SERDES interfaces were getting
the same PHY ID as the mv88e6390, even though they are not PHYs, and
the Marvell PHY driver was trying to drive them.

Add a special case to stop this from happen.

Reported-by: Chris Healy <Chris.Healy@zii.aero>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-17 20:37:53 +01:00
..
appletalk
arcnet arcnet: provide a buffer big enough to actually receive packets 2019-10-05 12:47:39 +02:00
bonding bonding: fix unexpected IFF_BONDING bit unset 2019-11-12 19:18:39 +01:00
caif caif-hsi: fix possible deadlock in cfhsi_exit_module() 2019-07-31 07:28:44 +02:00
can can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error 2019-12-05 15:37:03 +01:00
cris
dsa net: dsa: mv88e6xxx: Work around mv886e6161 SERDES missing MII_PHYSID2 2019-12-17 20:37:53 +01:00
ethernet i40e: don't restart nway if autoneg not supported 2019-12-17 20:37:46 +01:00
fddi
fjes fjes: Handle workqueue allocation failure 2019-11-12 19:18:42 +01:00
hamradio
hippi
hyperv hv_netvsc: Fix error handling in netvsc_attach() 2019-11-12 19:18:43 +01:00
ieee802154 ieee802154: ca8210: prevent memory leak 2019-10-29 09:16:54 +01:00
ipvlan net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set 2019-06-25 11:36:53 +08:00
phy net: phy: dp83867: increase SGMII autoneg timer duration 2019-12-01 09:14:19 +01:00
plip
ppp ppp: Fix memory leak in ppp_write 2019-10-05 12:47:41 +02:00
slip slip: Fix use-after-free Read in slip_open 2019-12-05 15:38:16 +01:00
team team: Add vlan tx offload to hw_enc_features 2019-08-25 10:50:29 +02:00
usb net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size() 2019-11-24 08:22:45 +01:00
vmxnet3
wan net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe() 2019-12-05 15:37:51 +01:00
wimax wimax/i2400m: fix a memory leak bug 2019-09-10 10:32:16 +01:00
wireless iwlwifi: mvm: Send non offchannel traffic via AP sta 2019-12-17 20:37:37 +01:00
xen-netback net: xen-netback: fix return type of ndo_start_xmit function 2019-11-24 08:22:48 +01:00
dummy.c
eql.c
geneve.c
gtp.c gtp: fix use-after-free in gtp_newlink() 2019-07-31 07:28:33 +02:00
ifb.c
Kconfig gtp: change NET_UDP_TUNNEL dependency to select 2019-05-16 19:42:30 +02:00
LICENSE.SRC
loopback.c
macsec.c macsec: let the administrator set UP state even if lowerdev is down 2019-12-01 09:13:49 +01:00
macvlan.c macvlan: schedule bc_work even if error 2019-12-05 15:38:14 +01:00
macvtap.c
Makefile net: Always descend into dsa/ 2019-05-25 18:25:17 +02:00
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: fix sleep time mismatch 2019-12-01 09:13:59 +01:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tun.c tun: fix use-after-free when register netdev failed 2019-09-19 09:08:02 +02:00
veth.c
virtio_net.c
vrf.c vrf: mark skb for multicast or link-local as enslaved to VRF 2019-12-01 09:14:11 +01:00
vsockmon.c
vxlan.c vxlan: Fix error path in __vxlan_dev_create() 2019-12-05 15:37:35 +01:00
xen-netfront.c xen-netfront: do not use ~0U as error return value for xennet_fill_frags() 2019-10-07 18:55:20 +02:00