On Thu, Aug 20, 2015 at 01:28:30PM -0500, Bin Liu wrote: > On Thu, Aug 20, 2015 at 1:23 PM, Felipe Balbi <balbi@xxxxxx> wrote: > > On Thu, Aug 20, 2015 at 12:21:29PM -0500, Bin Liu wrote: > >> Hi, > >> > >> Currently, the sysfs MUSB node name uses kernel device name global > >> *auto* convention. So depending on kernel configuration, the two MUSB > >> device nodes could be musb-hdrc.0.auto/musb-hdrc.1.auto, or > >> musb-hdrc.1.auto/musb-hdrc.2.auto. Of cause the index could be any > >> other number if there were more devices using this naming convention. > >> > >> Why we decided to name MUSB nodes this way? It gives me a lot of > >> troubles in scripting and documentation. > > > > it's just the device name, that's all. We could name it with a string > > representing the register address. Something like 'musb-47401c00' > > Yeah, I know it is just a name, that is why I want to know if possible > to change the default to not use the global name, to something static, > so that it is easier for scripting and documentation? sure, why not ? I don't think anybody is really relying on those. Send a patch and let's see if anybody complains. -- balbi
Attachment:
signature.asc
Description: Digital signature