]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Report correct link speed for unsupported ones
authorHariprasad Shenai <hariprasad@chelsio.com>
Thu, 1 Oct 2015 08:18:48 +0000 (13:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 10:48:41 +0000 (03:48 -0700)
commit879e23c3480257298978511fa1e2194b00468ea2
tree1c5290a7247d45c3e7b94878bdd4d7c567c37e06
parent7b2d38de87dd614bf0de6d572895d8f465d96607
cxgb4: Report correct link speed for unsupported ones

When we get garbage from the firmware with weird Port Speeds,
etc. we should emit a warning regarding unsupported speeds rather than
use the bogus default of "10Mbps" which isn't even an option in the
firmware Port Information message

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c