Re: [PATCH 0/3] Remove usb_host class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/28 Kay Sievers <kay.sievers@xxxxxxxx>:
> On Tue, Apr 28, 2009 at 00:17, Greg KH <greg@xxxxxxxxx> wrote:
>> On Mon, Apr 27, 2009 at 01:38:09PM -0700, David Brownell wrote:
>>> On Monday 27 April 2009, Greg KH wrote:
>>> > Here's 3 patches that removes the usb_host class, and the two current
>>> > users of it, as it isn't really needed.
>>> >
>>> > Any objections to these patches?
>>>
>>> You seem to be doing some spring cleaning on the USB stack ... ;)
>>
>> Heh, yeah, it needs it in places :)
>
> We could need spring several times in a year. :)
>
> What about moving the endpoints to the "usb" bus instead of its own
> weird class? I don't really know why there is an enpoint class at all,

Yes, I agree. Maybe endpoint class was introduced to help implementing
usbfs2, which is obsolete now, seems.

> and what makes them different from usb-devices or usb-interfaces? The
> endpoints are part of the core just like the interfaces are, right?

Yes, endpoint 0 is part of usb  device, and other endpoints should belong to
interface.

>
> Can't we just have them as:
>  /devices/pci.../usb4/4-0:1.0/4-0:1.0_ep81
> instead of:
>  /devices/pci.../usb4/4-0:1.0/usb_endpoint/usbdev4.1_ep81
>
> The usbdevX.Y* name is not used anywhere else.


-- 
Lei Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux