patch-2.4.0-test9 linux/drivers/scsi/sym53c8xx_comm.h
Next file: linux/drivers/scsi/t128.c
Previous file: linux/drivers/scsi/sym53c8xx.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Sep 18 15:05:20 2000
- Orig file:
v2.4.0-test8/linux/drivers/scsi/sym53c8xx_comm.h
- Orig date:
Mon Jun 19 17:59:42 2000
diff -u --recursive --new-file v2.4.0-test8/linux/drivers/scsi/sym53c8xx_comm.h linux/drivers/scsi/sym53c8xx_comm.h
@@ -498,7 +498,8 @@
# define memcpy_to_pci(a, b, c) memcpy_toio((a), (b), (c))
#endif
-#ifndef SCSI_NCR_PCI_MEM_NOT_SUPPORTED
+#if (defined(SCSI_NCR_NVRAM_SUPPORT) && !defined(NCR_IOMAPPED)) || \
+ (defined(__i386__) && !defined(SCSI_NCR_PCI_MEM_NOT_SUPPORTED))
static u_long __init remap_pci_mem(u_long base, u_long size)
{
u_long page_base = ((u_long) base) & PAGE_MASK;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)