Re: RFC: Platform data for onboard USB assets

From: Greg KH
Date: Thu Mar 17 2011 - 17:15:11 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/