Author: mav
Date: Wed Oct 15 08:04:43 2014
New Revision: 273126
URL: https://svnweb.freebsd.org/changeset/base/273126

Log:
  MFC r272756:  Properly report 12Gbps connection rate.
  
  Reviewed by:  kadesai, slm

Modified:
  stable/9/sys/dev/mpr/mpr_sas.c
  stable/9/sys/dev/mpr/mpr_table.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/mpr/mpr_sas.c
==============================================================================
--- stable/9/sys/dev/mpr/mpr_sas.c      Wed Oct 15 08:03:12 2014        
(r273125)
+++ stable/9/sys/dev/mpr/mpr_sas.c      Wed Oct 15 08:04:43 2014        
(r273126)
@@ -1045,6 +1045,9 @@ mprsas_action(struct cam_sim *sim, union
                case 0x0a:
                        sas->bitrate = 600000;
                        break;
+               case 0x0b:
+                       sas->bitrate = 1200000;
+                       break;
                default:
                        sas->valid = 0;
                }

Modified: stable/9/sys/dev/mpr/mpr_table.c
==============================================================================
--- stable/9/sys/dev/mpr/mpr_table.c    Wed Oct 15 08:03:12 2014        
(r273125)
+++ stable/9/sys/dev/mpr/mpr_table.c    Wed Oct 15 08:04:43 2014        
(r273126)
@@ -118,6 +118,7 @@ struct mpr_table_lookup mpr_linkrate_nam
        {"1.5Gbps",                     0x08},
        {"3.0Gbps",                     0x09},
        {"6.0Gbps",                     0x0a},
+       {"12.0Gbps",                    0x0b},
        {NULL, 0},
        {"LinkRate Unknown",            0x00}
 };
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to