All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Where do I need to call my set-enet-address function?
@ 2003-07-25  0:36 Kodis Babu Janardhanan
  2003-07-25  7:12 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Kodis Babu Janardhanan @ 2003-07-25  0:36 UTC (permalink / raw)
  To: u-boot

Hi,
   I trying to get rid off hard-coded mac addresss and trying to set the 
mac address by reading from the eeprom.  I commented the CONFIG_ETHADDR in 
the config file and called my function from the lib_ppc/board.c (init 
routine), it complains about ethaddr not set.  Where is the appropriate 
place to call my function.


Thanks
Kodis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] Where do I need to call my set-enet-address function?
  2003-07-25  0:36 [U-Boot-Users] Where do I need to call my set-enet-address function? Kodis Babu Janardhanan
@ 2003-07-25  7:12 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2003-07-25  7:12 UTC (permalink / raw)
  To: u-boot

In message <4.3.1.2.20030724173324.01755348@jittlov.qualcomm.com> you wrote:
>
>    I trying to get rid off hard-coded mac addresss and trying to set the 
> mac address by reading from the eeprom.  I commented the CONFIG_ETHADDR in 
> the config file and called my function from the lib_ppc/board.c (init 
> routine), it complains about ethaddr not set.  Where is the appropriate 
> place to call my function.

Use the existing framework? See  the  "Note  for  Redundant  Ethernet
Interfaces" in the README.

If you add such a feature, please do it the same  way  as  it's  been
done for the other ethernet drivers that support this feature.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Some people march to the beat of a different drummer. And some people
tango!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-25  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25  0:36 [U-Boot-Users] Where do I need to call my set-enet-address function? Kodis Babu Janardhanan
2003-07-25  7:12 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.