RE: [PATCH v2 06/10] RapidIO: Modify sysfs initialization for switches

2010-09-15 Thread Bounine, Alexandre
Andrew Morton wrote: > This is also a non-back compatible userspace-visible change? This should be a safe change because endpoints do not have a routing table. RapidIO differentiates devices by using naming templates for switches and endpoints (":s:" and ":e:") and this indicates which device f

Re: [PATCH v2 06/10] RapidIO: Modify sysfs initialization for switches

2010-09-14 Thread Andrew Morton
On Tue, 14 Sep 2010 10:59:19 -0400 Alexandre Bounine wrote: > 1. Change to create attribute "routes" only for switches. This is also a non-back compatible userspace-visible change? ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lis

[PATCH v2 06/10] RapidIO: Modify sysfs initialization for switches

2010-09-14 Thread Alexandre Bounine
1. Change to create attribute "routes" only for switches. 2. Add a switch-specific callback to create/remove proprietary attributes. Signed-off-by: Alexandre Bounine Cc: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala Cc: Micha Nelissen --- drivers/rapidio/rio-sysfs.c | 26