aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_offload.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-07-15 16:09:32 -0700
committerDavid S. Miller <davem@davemloft.net>2015-07-20 16:47:30 -0700
commitb8c6cd1d316f3b01ae578d8e29179f6396c0eaa2 (patch)
tree72718fbde0231c635ee9c9b9119244e2cccac6dd /net/ipv6/ip6_offload.c
parentbonding: correctly handle bonding type change on enslave failure (diff)
downloadlinux-dev-b8c6cd1d316f3b01ae578d8e29179f6396c0eaa2.tar.xz
linux-dev-b8c6cd1d316f3b01ae578d8e29179f6396c0eaa2.zip
net: dsa: bcm_sf2: do not use indirect reads and writes for 7445E0
7445E0 contains an ECO which disconnected the internal SF2 pseudo-PHY which was known to conflict with the external pseudo-PHY of BCM53125 switches. This motivated the need to utilize the internal SF2 MDIO controller via indirect register reads/writes to control external Broadcom switches due to this address conflict (both responded at address 30d). For 7445E0, the internal pseudo-PHY of the SF2 switch got disconnected, and as a consequence this prevents the internal SF2 MDIO bus controller from reading data (reads back everything as 0) since the MDI line is tied low. Fix this by making the indirect register reads and writes conditional to 7445D0, on 7445E0 we can utilize the SWITCH_MDIO controller (backed by mdio-unimac and not the DSA created slave MII bus). We utilize of_machine_is_compatible() here since this is the only way for use to differentiate between these two chips in a way that does not violate layers or becomes (too) vendor-specific. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions