|
@@ -75,8 +75,8 @@
|
|
|
#include "../mlxfw/mlxfw.h"
|
|
|
|
|
|
#define MLXSW_FWREV_MAJOR 13
|
|
|
-#define MLXSW_FWREV_MINOR 1530
|
|
|
-#define MLXSW_FWREV_SUBMINOR 152
|
|
|
+#define MLXSW_FWREV_MINOR 1620
|
|
|
+#define MLXSW_FWREV_SUBMINOR 192
|
|
|
#define MLXSW_FWREV_MINOR_TO_BRANCH(minor) ((minor) / 100)
|
|
|
|
|
|
#define MLXSW_SP_FW_FILENAME \
|
|
@@ -2390,7 +2390,7 @@ static int mlxsw_sp_port_get_link_ksettings(struct net_device *dev,
|
|
|
int err;
|
|
|
|
|
|
autoneg = mlxsw_sp_port->link.autoneg;
|
|
|
- mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0);
|
|
|
+ mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0, false);
|
|
|
err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
|
|
|
if (err)
|
|
|
return err;
|
|
@@ -2424,7 +2424,7 @@ mlxsw_sp_port_set_link_ksettings(struct net_device *dev,
|
|
|
bool autoneg;
|
|
|
int err;
|
|
|
|
|
|
- mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0);
|
|
|
+ mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port, 0, false);
|
|
|
err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
|
|
|
if (err)
|
|
|
return err;
|
|
@@ -2442,7 +2442,7 @@ mlxsw_sp_port_set_link_ksettings(struct net_device *dev,
|
|
|
}
|
|
|
|
|
|
mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port,
|
|
|
- eth_proto_new);
|
|
|
+ eth_proto_new, autoneg);
|
|
|
err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
|
|
|
if (err)
|
|
|
return err;
|
|
@@ -2653,7 +2653,7 @@ mlxsw_sp_port_speed_by_width_set(struct mlxsw_sp_port *mlxsw_sp_port, u8 width)
|
|
|
|
|
|
eth_proto_admin = mlxsw_sp_to_ptys_upper_speed(upper_speed);
|
|
|
mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sp_port->local_port,
|
|
|
- eth_proto_admin);
|
|
|
+ eth_proto_admin, mlxsw_sp_port->link.autoneg);
|
|
|
return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl);
|
|
|
}
|
|
|
|