<good description of what the topology tree should show snipped>
I completly agree. My main concern with these first patches, was
getting the driverfs - usb subsystem linkage working properly. I wasn't
trying to work on the names yet (you should have seen some of my testing
patches, the names there were pretty horrible :)
As we wait for the rest of Pat's patches to be merged into the kernel,
we can work on nailing down the proper naming scheme for the USB trees.
However, the root hub name _does_ propose a problem. I feel we have two
solutions:
- use the bus number (usb_bus_00x)
Pros:
matches the usbfs naming and directory structure
Cons:
depends on the initialization order of the busses.
- use a generic name like I did (usb_bus)
Pros:
does not depend on the init order, and relies on the
location in the entire pci topology tree to show its
uniqueness.
Cons:
boring :)
And also remember, the status file in a device's directory also provides
a _lot_ of information. We haven't even started to fill up the fields
there...
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/