Author: hselasky
Date: Wed Dec 30 14:54:08 2015
New Revision: 292946
URL: https://svnweb.freebsd.org/changeset/base/292946

Log:
  10G ER/LR should present itself as LR.
  
  MFC after:    1 week
  Submitted by: Shahar Klein <[email protected]>
  Sponsored by: Mellanox Technologies

Modified:
  head/sys/dev/mlx5/mlx5_en/en.h
  head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c

Modified: head/sys/dev/mlx5/mlx5_en/en.h
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/en.h      Wed Dec 30 14:06:01 2015        
(r292945)
+++ head/sys/dev/mlx5/mlx5_en/en.h      Wed Dec 30 14:54:08 2015        
(r292946)
@@ -698,7 +698,7 @@ enum mlx5e_link_mode {
        MLX5E_56GBASE_R4 = 8,
        MLX5E_10GBASE_CR = 12,
        MLX5E_10GBASE_SR = 13,
-       MLX5E_10GBASE_ER = 14,
+       MLX5E_10GBASE_LR = 14,
        MLX5E_40GBASE_SR4 = 15,
        MLX5E_40GBASE_LR4 = 16,
        MLX5E_100GBASE_CR4 = 20,

Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c    Wed Dec 30 14:06:01 2015        
(r292945)
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c    Wed Dec 30 14:54:08 2015        
(r292946)
@@ -106,8 +106,8 @@ static const struct {
                .subtype = IFM_10G_SR,
                .baudrate = IF_Gbps(10ULL),
        },
-       [MLX5E_10GBASE_ER] = {
-               .subtype = IFM_10G_ER,
+       [MLX5E_10GBASE_LR] = {
+               .subtype = IFM_10G_LR,
                .baudrate = IF_Gbps(10ULL),
        },
        [MLX5E_40GBASE_SR4] = {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to