Skip to content
Snippets Groups Projects
  1. Jun 10, 2013
  2. Dec 06, 2011
  3. Oct 27, 2011
  4. Dec 09, 2010
  5. Nov 30, 2010
  6. Nov 29, 2010
  7. Oct 12, 2010
    • Ben Gardiner's avatar
      davinci_emac: davinci_eth_set_mac_addr to ->write_hwaddr · 7b37a27e
      Ben Gardiner authored
      
      This patch proposes to migrate the davinci_emac driver to using the
      eth_device->write_hwaddr function pointer as suggested by Ben Warren.
      
      All the davinci boards had the behaviour, prior to this patch, of
      sync'ing the environment variable enetaddr with the MAC address read
      from non-volatile storage on boot -- when the two locations disagreed,
      the environment variable value took precendence. This patch keeps the
      same behaviour but lets eth_initialize take care of it.
      
      This patch refactors davinci_emac setup in the boards so that the MAC
      address is read from non-volatile storage into the environment variable
      and then the environment variable value is use in eth_intialize. The
      only exception is the direct call to davinci_eth_set_mac_addr made by
      the da830evm board init which was changed into an assignment of the
      enetaddr field.
      
      Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Tested-by: default avatarNick Thompson <nick.thompson@ge.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      7b37a27e
  8. Jul 15, 2010
  9. Jun 10, 2010
  10. Mar 23, 2010
  11. Mar 07, 2010
  12. Feb 12, 2010
  13. Jan 31, 2010
  14. Jan 09, 2010
  15. Nov 27, 2009
Loading