[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150525.173847.1648689043962348086.davem@davemloft.net>
Date: Mon, 25 May 2015 17:38:47 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mathieu@...eaurora.org
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: stmmac: create one debugfs dir per net-device
From: Mathieu Olivari <mathieu@...eaurora.org>
Date: Fri, 22 May 2015 19:03:29 -0700
> stmmac DebugFS entries are currently global to the driver. As a result,
> having more than one stmmac device in the system creates the following
> error:
> * ERROR stmmaceth, debugfs create directory failed
> * stmmac_hw_setup: failed debugFS registration
>
> This also results in being able to access the debugfs information for
> the first registered device only.
>
> This patch changes the debugfs structure to have one sub-directory per
> net-device. Files under "/sys/kernel/debug/stmmaceth" will now show-up
> under /sys/kernel/debug/stmmaceth/ethN/.
>
> Signed-off-by: Mathieu Olivari <mathieu@...eaurora.org>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists