summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-08-27 21:42:16 -0700
committerDavid S. Miller <davem@davemloft.net>2019-08-27 21:42:16 -0700
commit0e5c9ab32cbe551492abe9396715fe6e0f8e34b4 (patch)
tree78a1fd3d65750d2a657396e8f08048d257bacc2e /drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
parente93b4f0386621d2c6820fcafd4435c90f6fb4048 (diff)
parent7a3007d22e8dc7d0c14f711c5d370dc41226ac55 (diff)
downloadlinux-0e5c9ab32cbe551492abe9396715fe6e0f8e34b4.tar.bz2
Merge branch 'net-dsa-mv88e6xxx-Peridot-Topaz-SERDES-changes'
Marek BehĂșn says: ==================== net: dsa: mv88e6xxx: Peridot/Topaz SERDES changes this is the fifth version of changes for the Topaz/Peridot family of switches. The patches apply on net-next. Changes since v4: - added Reviewed-by and Tested-by tags on first 2 patches, the others are changed are affected by changes in patch 3/6, so I did not add the tags, except for 5/6, which is just macro renaming - patch 3 was changed: the serdes_get_lane returns 0 on success (lane was discovered), -ENODEV if not lane is present on the port, and other error if other error occured. Lane is put into a pointer of type u8 - patches 4 and 6 were affected by this (error detecting from serdes_get_lane) - Andrew's complaint about the two additional parameters (allow_over_2500 and make_cmode_writable) was addressed, by Vivien's advice: I put a new method into chip operations structure, named port_set_cmode_writable. This is called from mv88e6xxx_port_setup_mac just before port_set_cmode. The method is implemented for Topaz. The check if cmodes over 2500 should be allowed on given port is now done in the specific port_set_cmode() that requires it, thus the allow_over_2500 argument is not needed Again, tested on Turris Mox with Peridot, Topaz, and Peridot + Topaz. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c')
0 files changed, 0 insertions, 0 deletions