]> git.baikalelectronics.ru Git - kernel.git/commit
aquantia: Fix the media type of AQC100 ethernet controller in the driver
authorRichard Clark <richard.xnu.clark@gmail.com>
Sat, 25 Apr 2020 00:58:11 +0000 (08:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 18:13:15 +0000 (11:13 -0700)
commit2eb50c2e36cedaa0957c4037224056f10bb5f49f
treea4f1c7d1c5646c383818069740804d1dfa1c1e4e
parentf1d3082a07ff8335fe8bde7277dca6371fa280c2
aquantia: Fix the media type of AQC100 ethernet controller in the driver

The Aquantia AQC100 controller enables a SFP+ port, so the driver should
configure the media type as '_TYPE_FIBRE' instead of '_TYPE_TP'.

Signed-off-by: Richard Clark <richard.xnu.clark@gmail.com>
Cc: Igor Russkikh <irusskikh@marvell.com>
Cc: "David S. Miller" <davem@davemloft.net>
Acked-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c