1. 10 Oct, 2007 1 commit
    • David Gibson's avatar
      Device tree aware EMAC driver · 1d3bb996
      David Gibson authored
      
      Based on BenH's earlier work, this is a new version of the EMAC driver
      for the built-in ethernet found on PowerPC 4xx embedded CPUs.  The
      same ASIC is also found in the Axon bridge chip.  This new version is
      designed to work in the arch/powerpc tree, using the device tree to
      probe the device, rather than the old and ugly arch/ppc OCP layer.
      
      This driver is designed to sit alongside the old driver (that lies in
      drivers/net/ibm_emac and this one in drivers/net/ibm_newemac).  The
      old driver is left in place to support arch/ppc until arch/ppc itself
      reaches its final demise (not too long now, with luck).
      
      This driver still has a number of things that could do with cleaning
      up, but I think they can be fixed up after merging.  Specifically:
      	- Should be adjusted to properly use the dma mapping API.
      Axon needs this.
      	- Probe logic needs reworking, in conjuction with the general
      probing code for of_platform devices.  The dependencies here between
      EMAC, MAL, ZMII etc. make this complicated.  At present, it usually
      works, because we initialize and register the sub-drivers before the
      EMAC driver itself, and (being in driver code) runs after the devices
      themselves have been instantiated from the device tree.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      1d3bb996
  2. 18 Jul, 2007 1 commit
  3. 03 Jul, 2007 2 commits
  4. 28 Jun, 2007 1 commit
    • David Gibson's avatar
      [POWERPC] In booting-without-of.txt, clarify that properties must precede subnodes · eff2ebd2
      David Gibson authored
      
      A strict reading of the flattened device tree format defined in
      booting-without-of.txt does in fact require that all the tags defining
      properties for a node go before any definitions of subnodes, however
      it's not particularly emphasised.  Although allowing intermingled
      properties and subnodes would not be ambiguous in meaning, the kernel
      parser does currently require that properties precede subnodes.
      Furthermore, keeping this constraint makes life easier for various
      device tree scanning tools.
      
      Therefore, re-emphasise in booting-without-of.txt that this is a
      strict requirement of the flattened device tree format.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      eff2ebd2
  5. 06 Jun, 2007 2 commits
  6. 09 May, 2007 2 commits
  7. 02 May, 2007 1 commit
  8. 27 Apr, 2007 1 commit
  9. 21 Mar, 2007 1 commit
  10. 16 Mar, 2007 1 commit
    • David Gibson's avatar
      [POWERPC] Update documentation for flat device tree format v17 · 0e0293c8
      David Gibson authored
      
      This patch updates booting-without-of.txt to describe version 17 of
      the flattened device tree format.  Version 17 is a small, backwards
      compatible change from version 16, adding an extra field giving the
      size of the device tree's structure block.  At this time, the kernel
      has no use for the extra information, however its presence can make
      life easier for bootloaders or other software manipulating the tree.
      
      In addition this patch adds information on the size_dt_strings field
      of the device tree header, present since version 3 of the flattened
      tree format, but omitted from the documentation.  It also makes
      changes to consistently refer to versions 16 and 17 as versions 16 and
      17 in decimal, rather than version 0x10 which was occasionally used
      for version 16 previously.
      
      Finally, we also add the new field to the definition of the device
      tree header structure in prom.h
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: default avatarJon Loeliger <jdl@freescale.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      0e0293c8
  11. 08 Mar, 2007 1 commit
  12. 07 Mar, 2007 1 commit
  13. 16 Feb, 2007 1 commit
  14. 15 Feb, 2007 1 commit
  15. 08 Feb, 2007 1 commit
  16. 20 Dec, 2006 1 commit
  17. 04 Dec, 2006 1 commit
  18. 29 Nov, 2006 1 commit
  19. 04 Oct, 2006 1 commit
  20. 03 Oct, 2006 7 commits
  21. 29 Aug, 2006 1 commit
  22. 17 Aug, 2006 1 commit
  23. 03 Jul, 2006 1 commit
  24. 28 Mar, 2006 1 commit
  25. 22 Mar, 2006 1 commit
  26. 10 Feb, 2006 1 commit
  27. 07 Feb, 2006 1 commit
  28. 01 Feb, 2006 1 commit