1. 01 6月, 2012 2 次提交
  2. 16 3月, 2012 1 次提交
  3. 06 3月, 2012 1 次提交
  4. 09 12月, 2011 3 次提交
  5. 03 11月, 2011 3 次提交
  6. 01 11月, 2011 1 次提交
  7. 26 8月, 2011 1 次提交
    • A
      rapidio: fix use of non-compatible registers · 284fb68d
      Alexandre Bounine 提交于
      Replace/remove use of RIO v.1.2 registers/bits that are not
      forward-compatible with newer versions of RapidIO specification.
      
      RapidIO specification v.1.3 removed Write Port CSR, Doorbell CSR,
      Mailbox CSR and Mailbox and Doorbell bits of the PEF CAR.
      
      Use of removed (since RIO v.1.3) register bits affects users of
      currently available 1.3 and 2.x compliant devices who may use not so
      recent kernel versions.
      
      Removing checks for unsupported bits makes corresponding routines
      compatible with all versions of RapidIO specification.  Therefore,
      backporting makes stable kernel versions compliant with RIO v.1.3 and
      later as well.
      Signed-off-by: NAlexandre Bounine <alexandre.bounine@idt.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Li Yang <leoli@freescale.com>
      Cc: Thomas Moll <thomas.moll@sysgo.com>
      Cc: Chul Kim <chul.kim@idt.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      284fb68d
  8. 18 5月, 2011 1 次提交
  9. 15 4月, 2011 2 次提交
  10. 31 3月, 2011 1 次提交
  11. 24 3月, 2011 7 次提交
  12. 17 3月, 2011 1 次提交
  13. 26 2月, 2011 1 次提交
  14. 23 1月, 2011 1 次提交
  15. 14 1月, 2011 6 次提交
  16. 12 11月, 2010 1 次提交
    • D
      rapidio: use resource_size() · 88cf81fc
      Dan Carpenter 提交于
      The size calculation is done incorrectly here because it should include
      both the start and end (end - start + 1).  It's easiest to just use
      resource_size() which does the right thing.
      
      I was worried there was something non-standard going on because the
      printk() subtracts "end - 1", but the rest of the file uses the normal
      resource size calculations.  This function is only called from
      fsl_rio_setup() in arch/powerpc/sysdev/fsl_rio.c and the calculation
      there is also:
      
      	port->iores.start = law_start;
      	port->iores.end = law_start + law_size - 1;
      
      So I think this is the correct fix.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Cc: Alexandre Bounine <alexandre.bounine@idt.com>
      Acked-by: NLi Yang <leoli@freescale.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      88cf81fc
  17. 28 10月, 2010 7 次提交