Re: stmmac: debugfs broken with multiple ethernets.

2015-11-23 Thread Pavel Machek
Hi! > stmmac_main will happily try to create two directories with the same > name. > > I guess something like > > static int id; > char name[100]; > > sprintf(name, STMMAC_RESOURCE_NAME "_%d", id++) > ... > > might be suitable, but did not try that further. Hmm. It seems this is fixed in v4.1

stmmac: debugfs broken with multiple ethernets.

2015-11-23 Thread Pavel Machek
Hi! stmmac_main will happily try to create two directories with the same name. I guess something like static int id; char name[100]; sprintf(name, STMMAC_RESOURCE_NAME "_%d", id++) ... might be suitable, but did not try that further. Best regards,