Commit 63185d6c authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] fusion iomem annotations

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 84038b6d
...@@ -1096,7 +1096,7 @@ static int __devinit ...@@ -1096,7 +1096,7 @@ static int __devinit
mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ {
MPT_ADAPTER *ioc; MPT_ADAPTER *ioc;
u8 *mem; u8 __iomem *mem;
unsigned long mem_phys; unsigned long mem_phys;
unsigned long port; unsigned long port;
u32 msize; u32 msize;
...@@ -1211,13 +1211,13 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -1211,13 +1211,13 @@ mptbase_probe(struct pci_dev *pdev, const struct pci_device_id *id)
&ioc->facts, &ioc->pfacts[0])); &ioc->facts, &ioc->pfacts[0]));
ioc->mem_phys = mem_phys; ioc->mem_phys = mem_phys;
ioc->chip = (SYSIF_REGS*)mem; ioc->chip = (SYSIF_REGS __iomem *)mem;
/* Save Port IO values in case we need to do downloadboot */ /* Save Port IO values in case we need to do downloadboot */
{ {
u8 *pmem = (u8*)port; u8 *pmem = (u8*)port;
ioc->pio_mem_phys = port; ioc->pio_mem_phys = port;
ioc->pio_chip = (SYSIF_REGS*)pmem; ioc->pio_chip = (SYSIF_REGS __iomem *)pmem;
} }
ioc->chip_type = FCUNK; ioc->chip_type = FCUNK;
...@@ -2000,7 +2000,7 @@ mpt_adapter_dispose(MPT_ADAPTER *ioc) ...@@ -2000,7 +2000,7 @@ mpt_adapter_dispose(MPT_ADAPTER *ioc)
} }
if (ioc->memmap != NULL) if (ioc->memmap != NULL)
iounmap((u8 *) ioc->memmap); iounmap(ioc->memmap);
#if defined(CONFIG_MTRR) && 0 #if defined(CONFIG_MTRR) && 0
if (ioc->mtrr_reg > 0) { if (ioc->mtrr_reg > 0) {
......
...@@ -561,7 +561,7 @@ typedef struct _MPT_ADAPTER ...@@ -561,7 +561,7 @@ typedef struct _MPT_ADAPTER
u32 sense_buf_low_dma; u32 sense_buf_low_dma;
int mtrr_reg; int mtrr_reg;
struct pci_dev *pcidev; /* struct pci_dev pointer */ struct pci_dev *pcidev; /* struct pci_dev pointer */
u8 *memmap; /* mmap address */ u8 __iomem *memmap; /* mmap address */
struct Scsi_Host *sh; /* Scsi Host pointer */ struct Scsi_Host *sh; /* Scsi Host pointer */
ScsiCfgData spi_data; /* Scsi config. data */ ScsiCfgData spi_data; /* Scsi config. data */
MPT_IOCTL *ioctl; /* ioctl data pointer */ MPT_IOCTL *ioctl; /* ioctl data pointer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment