OSDN Git Service

fjes: ethtool -w and -W support for fjes driver
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 14 Oct 2016 11:27:45 +0000 (20:27 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 16:04:57 +0000 (12:04 -0400)
commitb6ba737d0b290b272452a2362088222a248fc8da
tree8b4fdafab65ef761d6052461d0848386c8c389de
parent82f6aea801e3732fe4bf41af46ebe352bf24fde8
fjes: ethtool -w and -W support for fjes driver

This patch adds implementation of supporting
ethtool -w and -W for fjes driver.

You can enable and disable firmware debug mode by
using ethtool -W, and also retrieve firmware
activity information by using ethtool -w.

This is useful for debugging.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_ethtool.c
drivers/net/fjes/fjes_hw.c
drivers/net/fjes/fjes_hw.h
drivers/net/fjes/fjes_trace.h