Re: RFC: Platform data for onboard USB assets

Greg KH
2011-03-17T21:15:05Z

On Thu, Mar 17, 2011 at 08:18:35PM +0000, Mark Brown wrote:
> On Thu, Mar 17, 2011 at 01:13:20PM -0700, Greg KH wrote:
> > On Wed, Mar 16, 2011 at 10:14:01PM -0400, Nicolas Pitre wrote:
>
> > > PandaBoards are becoming quite popular.
>
> > I have one right here.
>
> > But can't this device be detected by the usb device id and the quirk
> > added that way? Like all other "odd" USB devices are currently handled?
>
> It's going to be an off the shelf USB ethernet controller. I'd be
> astonished if the board-configurable device IDs weren't set from the
> same SEPROM that the MAC address is so it'd just show up as a generic
> chip of whatever kind.

Huh? All USB controllers you buy have the ability to set the vendor and
product id, so you should always be able to key off of that.

Isn't that the case here?

thanks,

greg k-h