]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qlcnic: Fix link configuration with autoneg disabled
authorChopra, Manish <Manish.Chopra@cavium.com>
Thu, 11 May 2017 14:12:47 +0000 (07:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 May 2017 01:39:53 +0000 (21:39 -0400)
commitf9c3fe2f43343be7972226c2e736e7a68e383dc1
tree047e9135c2e8d23d472376bc1fdc873173b045ef
parentd86b5672b1adb98b4cdd6fbf0224bbfb03db6e2e
qlcnic: Fix link configuration with autoneg disabled

Currently driver returns error on speed configurations
for 83xx adapter's non XGBE ports, due to this link doesn't
come up on the ports using 1000Base-T as a connector with
autoneg disabled. This patch fixes this with initializing
appropriate port type based on queried module/connector
types from hardware before any speed/autoneg configuration.

Signed-off-by: Manish Chopra <manish.chopra@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c