Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/broadcom
Jon Maxwell f0dfecc93a tg3: allow ethtool -p to work for NICs in down state
Make tg3 behave like other drivers and let "ethtool -p" identify the
NIC even when it's in the DOWN state. Before this patch it would get an
error as follows if the NIC was down:

# ip link set down dev em4
# ethtool -p em4
Cannot identify NIC: Resource temporarily unavailable

With this patch ethtool identify works regardless of whether the NIC is up
or down as it does for other drivers.

Signed-off-by: Jon Maxwell <jmaxwell37@gmail.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-02 10:54:59 -07:00
..
2019-03-27 13:43:14 -07:00
2015-02-20 15:46:49 -05:00
2014-06-25 16:27:27 -07:00
2018-11-08 19:49:31 -08:00
2014-06-25 16:27:27 -07:00
2018-07-16 14:42:10 -07:00