1. 06 12月, 2006 1 次提交
    • J
      [SCSI] megaraid: fix MMIO casts · 00769ec4
      Jeff Garzik 提交于
      megaraid's MMIO RD*/WR* macros directly call readl() and writel() with
      an 'unsigned long' argument.  This throws a warning, but is otherwise OK
      because the 'unsigned long' is really the result of ioremap().  This
      setup is also OK because the variable can hold an ioremap cookie /or/ a
      PCI I/O port (PIO).
      
      However, to fix the warning thrown when readl() and writel() are passed
      an unsigned long cookie, I introduce 'void __iomem *mmio_base', holding
      the same value as 'base'.  This will silence the warnings, and also
      cause an oops whenever these MMIO-only functions are ever accidentally
      passed an I/O address.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      00769ec4
  2. 05 12月, 2006 1 次提交
  3. 04 12月, 2006 1 次提交
  4. 03 12月, 2006 13 次提交
  5. 26 11月, 2006 4 次提交
  6. 25 11月, 2006 1 次提交
  7. 23 11月, 2006 19 次提交