Re: [PATCH 0/3] Remove usb_host class

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

 



On Sun, 3 May 2009, Kay Sievers wrote:

> I thought about something like this, which gets rid of the additional
> class, adds the endpoints to the usb subsystem directly, and also does
> not request a device node until usbfs2 is eventually implemented.
> 
> At the time these nodes get enabled, we must also find a naming scheme
> for them, instead of letting them show up in the root of /dev, like the
> current dead ones do.
> 
> Quick patch to illustrate below.

If you haven't already done so, you should check all the other places
where usbcore uses is_usb_device().  They are likely to get confused if
endpoint thingies start showing up.  For example, we don't want to
allow drivers to bind to endpoints (not yet).  In fact, you might want
to add a usb_endpoint_type, in addition to usb_device_type and
usb_interface_type.

Alan Stern

--
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