[parisc-linux-cvs] remove ioremap hack from ncr53c8xx.c, no longer needed

Richard Hirst rhirst@linuxcare.com
Wed, 20 Jun 2001 13:22:16 +0100


Index: Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/Makefile,v
retrieving revision 1.62
diff -u -u -r1.62 Makefile
--- Makefile    2001/06/18 20:32:53     1.62
+++ Makefile    2001/06/20 12:17:52
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 4
 SUBLEVEL = 0
-EXTRAVERSION = -pa30
+EXTRAVERSION = -pa31
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Index: drivers/scsi/ncr53c8xx.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/scsi/ncr53c8xx.c,v
retrieving revision 1.15
diff -u -u -r1.15 ncr53c8xx.c
--- ncr53c8xx.c 2001/03/04 19:32:54     1.15
+++ ncr53c8xx.c 2001/06/20 12:17:56
@@ -3861,10 +3861,6 @@
        np->paddr2      = (np->features & FE_RAM)? device->slot.base_2 : 0;
 
 #ifndef NCR_IOMAPPED
-#ifdef __hppa__
-       /* gsc_read/write bypass mmu atm */
-       np->vaddr = np->paddr;
-#else
        np->vaddr = remap_pci_mem((u_long) np->paddr, (u_long) 128);
        if (!np->vaddr) {
                printk(KERN_ERR
@@ -3881,7 +3877,6 @@
        **      Now the INB INW INL OUTB OUTW OUTL macros
        **      can be used safely.
        */
-#endif
        np->reg = (struct ncr_reg*) np->vaddr;
 
 #endif /* !defined NCR_IOMAPPED */