svn commit: r272756 - head/sys/dev/mpr

Alexander Motin mav at FreeBSD.org
Wed Oct 8 16:22:27 UTC 2014


Author: mav
Date: Wed Oct  8 16:22:26 2014
New Revision: 272756
URL: https://svnweb.freebsd.org/changeset/base/272756

Log:
  Properly report 12Gbps connection rate.
  
  Reviewed by:	kadesai, slm
  MFC after:	1 week

Modified:
  head/sys/dev/mpr/mpr_sas.c
  head/sys/dev/mpr/mpr_table.c

Modified: head/sys/dev/mpr/mpr_sas.c
==============================================================================
--- head/sys/dev/mpr/mpr_sas.c	Wed Oct  8 15:58:28 2014	(r272755)
+++ head/sys/dev/mpr/mpr_sas.c	Wed Oct  8 16:22:26 2014	(r272756)
@@ -1043,6 +1043,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: head/sys/dev/mpr/mpr_table.c
==============================================================================
--- head/sys/dev/mpr/mpr_table.c	Wed Oct  8 15:58:28 2014	(r272755)
+++ head/sys/dev/mpr/mpr_table.c	Wed Oct  8 16:22:26 2014	(r272756)
@@ -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-head mailing list