Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-09 Thread Wolfgang Denk
Dear Ben Warren, In message <4bbfc784.20...@gmail.com> you wrote: > > > I don;t have a specific example in mind where it would actually cause > > harm, but we might run into such situations and should be prepared to > > handle them gracefully. > > > > > OK. The next spin will have an easy opt

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-09 Thread Ben Warren
On 4/9/2010 12:58 PM, Wolfgang Denk wrote: > Dear Ben Warren, > > In message<4bbb6470.30...@gmail.com> you wrote: > >> The new function is part of the 'eth_device struct', so will be >> implemented in the network drivers. As designed, MAC addresses will be >> programmed on all controllers tha

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-09 Thread Wolfgang Denk
Dear Ben Warren, In message <4bbb6470.30...@gmail.com> you wrote: > > The new function is part of the 'eth_device struct', so will be > implemented in the network drivers. As designed, MAC addresses will be > programmed on all controllers that have a valid entry either in their > NVRAM or the

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-08 Thread Detlev Zundel
Hi Ben, >>> Add a new function to the eth_device struct for programming a network >>> controller's hardware address. >>> >>> After all network devices have been initialized and the proper MAC address >>> for >>> each has been determined, make a device driver call to program the address >>> into t

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Ben Warren
Hi Wolfgang, On 4/6/2010 5:57 AM, Wolfgang Denk wrote: > Dear Ben Warren, > > In message<1270450929-17004-1-git-send-email-biggerbadder...@gmail.com> you > wrote: > >> Add a new function to the eth_device struct for programming a network >> controller's hardware address. >> >> After all netw

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Wolfgang Denk
Dear Ben Warren, In message <1270450929-17004-1-git-send-email-biggerbadder...@gmail.com> you wrote: > Add a new function to the eth_device struct for programming a network > controller's hardware address. > > After all network devices have been initialized and the proper MAC address for > each

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko Schocher > Sent: Tuesday, April 06, 2010 12:49 PM > To: Ben Warren > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [RFC] Program net device M

Re: [U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-06 Thread Heiko Schocher
Hello Ben, Ben Warren wrote: > Add a new function to the eth_device struct for programming a network > controller's hardware address. > > After all network devices have been initialized and the proper MAC address for > each has been determined, make a device driver call to program the address > i

[U-Boot] [RFC] Program net device MAC addresses after initializing

2010-04-05 Thread Ben Warren
Add a new function to the eth_device struct for programming a network controller's hardware address. After all network devices have been initialized and the proper MAC address for each has been determined, make a device driver call to program the address into the device. Only device instances wit