This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: USB serial package
> The eCos library uses the 'usbs_enumeration_data' structure which calls
> out the different descriptor types, but makes no provision for class
> descriptors that I could find. Maybe we could add something to the
> structure? Like a catch-all void/byte pointer and length? Could it be
> done without breaking the existing code?
Do these class descriptors have a well defined structure? It would be
better to define a class structure which is then added to the
usbs_enumeration_data. We can define a CDL interface which is used to
enable this structure and the necessary code in
usbs_handle_standard_control() to return it to the host. Class drivers
which need to use it then implement the CDL structure.
Andrew