Re: [PATCH] updates for KLSI usb->ethernet

From: Greg KH (greg@wirex.com)
Date: Wed Feb 07 2001 - 03:51:26 EST


On Wed, Feb 07, 2001 at 12:38:52AM -0600, Eric Sandeen wrote:
> Any thoughts on what would be more correct,
>
> a) device descriptor silently changes
> b) device magically disconnects/reconnects on its own
>
> Both seem a bit odd, but take your pick. :)

b) is more like other devices. They use 1 descriptor id for the "I have
no firmware" state, then after firmware is downloaded, they disconnect,
and reconnect with a new id which means they have the firmware loaded.

Lots of usb-serial devices do this, and so does just about any
Anchor/Cypress EZ-USB chip based design.

Silently changing descriptor ids while connected is just asking for
trouble :)

You also might want to post this to linux-usb-devel as that's where the
authors of this driver are known to hang out.

greg k-h

-- 
greg@(kroah|wirex).com
http://immunix.org/~greg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:26 EST