1. 08 Jan, 2009 15 commits
  2. 20 Dec, 2008 1 commit
  3. 18 Dec, 2008 9 commits
  4. 16 Dec, 2008 13 commits
  5. 15 Dec, 2008 2 commits
    • David Brownell's avatar
      davinci_emac checkpatch.pl fixes · c1e16f60
      David Brownell authored
      Fix checkpatch.pl bugs ... mostly return-with-parens.  And also
      fix some whitespace bugs, one of which was reported by checkpatch
      (bad indentation).
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      c1e16f60
    • David Brownell's avatar
      more davinci_emac sparse fixes · acca4aaa
      David Brownell authored
      Update more of the RX and TX buffer descriptor (BD) handling to
      properly distinguish between __iomem pointers and normal data
      memory address space, getting rid of 32 "cast removes address
      space of expression" messages.
      
      This patch doesn't resolve all the issues sparse reports.  In fact
      there are now 48 new "dereference of noderef expression" messages.
      They mean that a patch is needed to convert BD member accessors to
      use readl/writel calls.
      
      Plus, there are several related issues that sparse won't warn about.
      The initial i/o space addresses -- SRAM used for BDs, and controller
      registers -- should come from ioremap.  Reverse mappings shouldn't
      usually be needed, and if they are they should avoid io_v2p() and
      virt_to_phys() calls.  And the need to use casts so often is wrong,
      especially with __force annotations.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
      acca4aaa