diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-09-08 08:16:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-09 16:56:53 -0700 |
commit | 3247ff2b318f3eeaaf32163ce39ddaac23e9a6f9 (patch) | |
tree | 211182527aa6482c4b186249673851fcff76b936 /lib/crc-itu-t.c | |
parent | 40d259045500c6431633f215516c1f94bac8c62f (diff) | |
download | linux-3247ff2b318f3eeaaf32163ce39ddaac23e9a6f9.tar.bz2 |
mlxsw: spectrum: Set port type before setting its address
During port init, we currently set the port's type to Ethernet after
setting its MAC address. However, the hardware documentation states this
should be the other way around.
Align the driver with the hardware documentation and set the port's MAC
address after setting its type.
Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions