Properly report 12Gbps connection rate.

Reviewed by:	kadesai, slm
MFC after:	1 week
This commit is contained in:
Alexander Motin 2014-10-08 16:22:26 +00:00
parent 9ba6106020
commit 82315915e0
2 changed files with 4 additions and 0 deletions

View file

@ -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;
}

View file

@ -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}
};