Skip to content
Snippets Groups Projects

Remove all references to ioremap_nocache and replace with the LIGO_IOREMAP macro.

1 unresolved thread
15 files
+ 59
43
Compare changes
  • Side-by-side
  • Inline
Files
15
+ 3
2
@@ -12,6 +12,7 @@
# include <linux/modversions.h>
#endif
#include <asm/io.h>
#include "ioremap_selection.h"
#define VMIC_VID 0x114a
#define VMIC_TID 0x5565
@@ -252,7 +253,7 @@ unsigned long mapcard(struct pci_dev *pcidev, int memsize) {
}
pRfmMem = ioremap_nocache((unsigned long)pci_io_addr, memsize);
pRfmMem = IOREMAP((unsigned long)pci_io_addr, memsize);
kmalloc_area[rfm_cnt] = pci_io_addr;
printk("VMIC%x protected address=0x%lx\n", rfmType, (unsigned long)pRfmMem);
@@ -260,7 +261,7 @@ unsigned long mapcard(struct pci_dev *pcidev, int memsize) {
rfmType == 0x5565? PCI_BASE_ADDRESS_2:PCI_BASE_ADDRESS_1,
&csrAddress);
printk("CSR address is 0x%x\n",csrAddress);
csrAddr = ioremap_nocache((unsigned long)csrAddress, 0x40);
csrAddr = IOREMAP((unsigned long)csrAddress, 0x40);
if(rfmType == 0x5565) {
p5565Csr = (VMIC5565_CSR *)csrAddr;
Loading