Commit d4aa631a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Amiga NCR53c7xx SCSI: use z_ioremap()

Amiga NCR53c7xx SCSI: Use z_ioremap() to map Zorro space
parent 25de682c
...@@ -86,7 +86,7 @@ int __init amiga7xx_detect(Scsi_Host_Template *tpnt) ...@@ -86,7 +86,7 @@ int __init amiga7xx_detect(Scsi_Host_Template *tpnt)
#ifdef CONFIG_WARPENGINE_SCSI #ifdef CONFIG_WARPENGINE_SCSI
case ZORRO_PROD_MACROSYSTEMS_WARP_ENGINE_40xx: case ZORRO_PROD_MACROSYSTEMS_WARP_ENGINE_40xx:
if (request_mem_region(address+0x40000, 0x1000, "ncr53c710")) { if (request_mem_region(address+0x40000, 0x1000, "ncr53c710")) {
address = (unsigned long)ioremap(address, size); address = (unsigned long)z_ioremap(address, size);
options = OPTION_MEMORY_MAPPED | OPTION_DEBUG_TEST1 | options = OPTION_MEMORY_MAPPED | OPTION_DEBUG_TEST1 |
OPTION_INTFLY | OPTION_SYNCHRONOUS | OPTION_INTFLY | OPTION_SYNCHRONOUS |
OPTION_ALWAYS_SYNCHRONOUS | OPTION_DISCONNECT; OPTION_ALWAYS_SYNCHRONOUS | OPTION_DISCONNECT;
...@@ -102,7 +102,7 @@ int __init amiga7xx_detect(Scsi_Host_Template *tpnt) ...@@ -102,7 +102,7 @@ int __init amiga7xx_detect(Scsi_Host_Template *tpnt)
case ZORRO_PROD_CBM_A4091_1: case ZORRO_PROD_CBM_A4091_1:
case ZORRO_PROD_CBM_A4091_2: case ZORRO_PROD_CBM_A4091_2:
if (request_mem_region(address+0x800000, 0x1000, "ncr53c710")) { if (request_mem_region(address+0x800000, 0x1000, "ncr53c710")) {
address = (unsigned long)ioremap(address, size); address = (unsigned long)z_ioremap(address, size);
options = OPTION_MEMORY_MAPPED | OPTION_DEBUG_TEST1 | options = OPTION_MEMORY_MAPPED | OPTION_DEBUG_TEST1 |
OPTION_INTFLY | OPTION_SYNCHRONOUS | OPTION_INTFLY | OPTION_SYNCHRONOUS |
OPTION_ALWAYS_SYNCHRONOUS | OPTION_DISCONNECT; OPTION_ALWAYS_SYNCHRONOUS | OPTION_DISCONNECT;
......
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