]> 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)
commit6de556c31061e3b9c36546ffaaac5fdb679a2f14
treea4f1c7d1c5646c383818069740804d1dfa1c1e4e
parent18e6719c141e472fe3b9dce2d089eb89fdbce0b5
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