Re: RFC: Platform data for onboard USB assets

Roger Quadros
2011-03-18T08:43:12Z

On 03/18/2011 12:11 AM, ext Arnd Bergmann wrote:
> On Thursday 17 March 2011 21:26:14 Greg KH wrote:
>>> 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?
>
> The same EEPROM that is missing here carries both the MAC address and
> the vendor/product ID overrides.
>

Just curious, how do Panda boards manage to get the MAC address? Is it
programmed in some other flash memory?

The LAN9514 datasheet says
"If a properly configured EEPROM is not detected, it is the
responsibility of the Host LAN Driver to set the IEEE addresses."

So how does the Host LAN driver know what MAC address it should use?

--
regards,
-roger