Messages in this thread | | | Date | Sat, 1 Apr 2006 15:14:36 -0500 (EST) | From | Alan Stern <> | Subject | Re: Handling devices that don't have a bus |
| |
On Sat, 1 Apr 2006, David Brownell wrote:
> On Saturday 01 April 2006 8:46 am, Alan Stern wrote: > > > I think you have misunderstood my point. Yes, devices are part of the > > platform bus only if they explicitly want to be. My point was that even > > though they _do_ want to be on the platform bus, > > I'm not clear on why it would want to be on the platform bus; > what would its inner platform-ness consist of? > > There really isn't a "bus" that makes much sense for such a > singleton device to sit on.
I suppose you could argue that the "platform-ness" is related to the fact that a gadget is a sort-of synthetic device, made up entirely of software. Not very convincing, I admit.
The real reason for wanting to use the platform bus is because USB gadgets don't really belong anywhere else, and the platform bus is supposed to be (among other things) the bus for devices that don't have a home of their own. It took over that role from the old "misc" bus, or whatever it used to be called.
Of course, there's always the possibility of creating a "usb-gadget" bus -- but that really would be going over the top!
Alan Stern
- 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/
| |