linux_dsm_epyc7002/drivers/net/ethernet/ibm/ehea
Guilherme G. Piccoli 29ab5a3b94 ehea: fix operation state report
Currently the ehea driver is missing a call to netif_carrier_off()
before the interface bring-up; this is necessary in order to
initialize the __LINK_STATE_NOCARRIER bit in the net_device state
field. Otherwise, we observe state UNKNOWN on "ip address" command
output.

This patch adds a call to netif_carrier_off() on ehea's net device
open callback.

Reported-by: Xiong Zhou <zhou@redhat.com>
Reference-ID: IBM bz #137702, Red Hat bz #1089134
Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-03 16:25:37 -04:00
..
ehea_ethtool.c net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
ehea_hw.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea_main.c ehea: fix operation state report 2016-11-03 16:25:37 -04:00
ehea_phyp.c ehea: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:46 +10:00
ehea_phyp.h powerpc: Move get_longbusy_msecs into hvcall.h and remove duplicate function 2012-11-15 15:08:07 +11:00
ehea_qmr.c net: ethernet: ibm: ehea: ehea_qmr.c: Fix for possible null pointer dereference 2014-05-18 21:26:02 -04:00
ehea_qmr.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea.h ehea: Remove uses of virt_to_abs() and abs_to_virt() 2012-09-05 15:18:46 +10:00
Makefile net: ethernet: ibm: ehea: Remove duplicate object from Makefile 2014-08-14 14:38:54 -07:00