fjes: Add debugfs entry for EP status information in fjes driver
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 14 Oct 2016 11:28:07 +0000 (20:28 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 16:04:58 +0000 (12:04 -0400)
commitc753119e6d1a26a3df04d6fe69d75049082e3f32
treea6108a7246d23f37bbcd5695882822c2d489802d
parentb6ba737d0b290b272452a2362088222a248fc8da
fjes: Add debugfs entry for EP status information in fjes driver

This patch adds debugfs entry to show EP status information.
You can get each EP's status information like the following:

  # cat /sys/kernel/debug/fjes/fjes.0/status

EPID    STATUS           SAME_ZONE        CONNECTED
ep0     shared           Y                Y
ep1     -                -                -
ep2     unshared         N                N
ep3     unshared         N                N
ep4     unshared         N                N
ep5     unshared         N                N
ep6     unshared         N                N
ep7     unshared         N                N

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/Makefile
drivers/net/fjes/fjes.h
drivers/net/fjes/fjes_debugfs.c [new file with mode: 0644]
drivers/net/fjes/fjes_main.c