]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4ec6137e35f48dcc60114af4b6c5381fa92cc85
treea6108a7246d23f37bbcd5695882822c2d489802d
parent7a9b4b599eb061a5479071965f89bff0f29d6277
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