1. 27 2月, 2010 2 次提交
    • M
      MIPS: PCMCIA: new socket driver for Au1000 demoboards. · 66213b3c
      Manuel Lauss 提交于
      New PCMCIA socket driver for all Db/Pb1xxx boards (except Pb1000),
      which replaces au1000_db1x00.c and (most of) au1000_pb1x00.c.
      Notable improvements:
              - supports Db1000, DB/PB1100/1500/1550/1200.
              - support for carddetect and statuschange IRQs.
              - pcmcia socket mem/io/attr areas and irqs passed through
                platform resource information.
              - doesn't freeze system during card insertion/ejection like
                the one it replaces.
              - boardtype is automatically detected using BCSR ID register.
      
      Run-tested on the DB1200.
      
      Cc: Linux-PCMCIA <linux-pcmcia@lists.infradead.org>
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      66213b3c
    • M
      MIPS: Alchemy: devboard register abstraction · 9bdcf336
      Manuel Lauss 提交于
      All Alchemy development boards have external CPLDs with a few registers
      in them.  They all share an identical register layout with only a few
      minor differences (except the PB1000) in bit functions and base
      addresses.
      
      This patch
      - adds a primitive facility to initialize and use these external
        registers,
      - replaces all occurrences of bcsr->xxx accesses with calls to the new
        functions (the pb1200 cascade irq handling code is special).
      - collects BCSR register information scattered throughout the board
        headers in a central place.
      Signed-off-by: NManuel Lauss <manuel.lauss@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      9bdcf336
  2. 24 2月, 2010 1 次提交
  3. 23 2月, 2010 2 次提交
  4. 17 12月, 2009 2 次提交
  5. 16 12月, 2009 1 次提交
  6. 14 12月, 2009 1 次提交
  7. 13 12月, 2009 1 次提交
  8. 12 12月, 2009 1 次提交
  9. 08 12月, 2009 1 次提交
    • D
      pcmcia: CodingStyle fixes · 9fea84f4
      Dominik Brodowski 提交于
      Fix several CodingStyle issues in drivers/pcmcia/ . checkpatch.pl no longer
      reports errors in the PCMCIA core. The remaining warnings mostly relate to
      wrong indent -- PCMCIA historically used 4 spaces --, to lines over 80
      characters and to hundreds of typedefs. The cleanup of those will follow
      in the future.
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      9fea84f4
  10. 07 12月, 2009 5 次提交
  11. 29 11月, 2009 8 次提交
  12. 22 11月, 2009 1 次提交
    • J
      drivers/pcmcia: remove unnecessary kzalloc · 78a14e27
      Julia Lawall 提交于
      The result of calling kzalloc is never used or freed.
      
      The semantic match that finds this problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r exists@
      local idexpression x;
      statement S;
      expression E;
      identifier f,f1,l;
      position p1,p2;
      expression *ptr != NULL;
      @@
      
      x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
      ...
      if (x == NULL) S
      <... when != x
           when != if (...) { <+...x...+> }
      (
      x->f1 = E
      |
       (x->f1 == NULL || ...)
      |
       f(...,x->f1,...)
      )
      ...>
      (
       return \(0\|<+...x...+>\|ptr\);
      |
       return@p2 ...;
      )
      
      @script:python@
      p1 << r.p1;
      p2 << r.p2;
      @@
      
      print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      78a14e27
  13. 12 11月, 2009 1 次提交
  14. 09 11月, 2009 13 次提交