net: aquantia: Fix actual speed capabilities reporting

[ Upstream commit e4d02ca04c ]

Different hardware device Ids correspond to different maximum speed
available. Extra checks were added for devices D108 and D109 to
remove unsupported speeds from these device capabilities list.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Igor Russkikh 2017-12-14 12:34:40 +03:00 • committed by Greg Kroah-Hartman
commit dabd233b75
6 changed files with 35 additions and 9 deletions