svn commit: r273125 - stable/10/sys/dev/mpr

Alexander Motin mav at FreeBSD.org
Wed Oct 15 08:03:13 UTC 2014


Author: mav
Date: Wed Oct 15 08:03:12 2014
New Revision: 273125
URL: https://svnweb.freebsd.org/changeset/base/273125

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

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

Modified: stable/10/sys/dev/mpr/mpr_sas.c
==============================================================================
--- stable/10/sys/dev/mpr/mpr_sas.c	Wed Oct 15 07:35:50 2014	(r273124)
+++ stable/10/sys/dev/mpr/mpr_sas.c	Wed Oct 15 08:03:12 2014	(r273125)
@@ -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/10/sys/dev/mpr/mpr_table.c
==============================================================================
--- stable/10/sys/dev/mpr/mpr_table.c	Wed Oct 15 07:35:50 2014	(r273124)
+++ stable/10/sys/dev/mpr/mpr_table.c	Wed Oct 15 08:03:12 2014	(r273125)
@@ -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}
 };


More information about the svn-src-stable mailing list