]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 15:46:31 +0000 (17:46 +0200)
commit7a5f60dc3a67124038bfecc0f6ba2d09ee7f85f3
tree6b5c293c67768c8e107f3b7be3cb1cabcccaeba2
parent445437b417b684a6e8ff49b4a939ca27fd5a48ae
aquantia: Fix the media type of AQC100 ethernet controller in the driver

[ Upstream commit 6de556c31061e3b9c36546ffaaac5fdb679a2f14 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c