From 82315915e0787f3e5e2b1ed22d36d3f441f2388d Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 8 Oct 2014 16:22:26 +0000 Subject: [PATCH] Properly report 12Gbps connection rate. Reviewed by: kadesai, slm MFC after: 1 week --- sys/dev/mpr/mpr_sas.c | 3 +++ sys/dev/mpr/mpr_table.c | 1 + 2 files changed, 4 insertions(+) diff --git a/sys/dev/mpr/mpr_sas.c b/sys/dev/mpr/mpr_sas.c index 97e815c582c..7ddae71ec02 100644 --- a/sys/dev/mpr/mpr_sas.c +++ b/sys/dev/mpr/mpr_sas.c @@ -1043,6 +1043,9 @@ mprsas_action(struct cam_sim *sim, union ccb *ccb) case 0x0a: sas->bitrate = 600000; break; + case 0x0b: + sas->bitrate = 1200000; + break; default: sas->valid = 0; } diff --git a/sys/dev/mpr/mpr_table.c b/sys/dev/mpr/mpr_table.c index b1e12b38415..6e7797ed3f2 100644 --- a/sys/dev/mpr/mpr_table.c +++ b/sys/dev/mpr/mpr_table.c @@ -118,6 +118,7 @@ struct mpr_table_lookup mpr_linkrate_names[] = { {"1.5Gbps", 0x08}, {"3.0Gbps", 0x09}, {"6.0Gbps", 0x0a}, + {"12.0Gbps", 0x0b}, {NULL, 0}, {"LinkRate Unknown", 0x00} };