patch-2.1.121 linux/drivers/scsi/ncr53c8xx.c
Next file: linux/drivers/scsi/pci2000.c
Previous file: linux/drivers/scsi/ibmmca.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Sep 6 10:34:33 1998
- Orig file:
v2.1.120/linux/drivers/scsi/ncr53c8xx.c
- Orig date:
Tue Jul 21 00:15:31 1998
diff -u --recursive --new-file v2.1.120/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -587,8 +587,12 @@
#define remap_pci_mem(base, size) ((vm_offset_t) __va(base))
#define unmap_pci_mem(vaddr, size)
#define pcivtophys(p) ((p) & pci_dvma_mask)
-#else /* __sparc__ */
+#else
+#if defined(__alpha__)
+#define pcivtophys(p) ((p) & 0xfffffffful)
+#else
#define pcivtophys(p) (p)
+#endif
#ifndef NCR_IOMAPPED
__initfunc(
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov