Commit 550dcbdb authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Amiga FastLane SCSI z_io{re,un}map()

Amiga FastLane SCSI: Zorro drivers must use z_io{re,un}map().
parent 48978055
...@@ -170,7 +170,7 @@ int __init fastlane_esp_detect(Scsi_Host_Template *tpnt) ...@@ -170,7 +170,7 @@ int __init fastlane_esp_detect(Scsi_Host_Template *tpnt)
/* Map the physical address space into virtual kernel space */ /* Map the physical address space into virtual kernel space */
address = (unsigned long) address = (unsigned long)
ioremap_nocache(board, z->resource.end-board+1); z_ioremap(board, z->resource.end-board+1);
if(!address){ if(!address){
printk("Could not remap Fastlane controller memory!"); printk("Could not remap Fastlane controller memory!");
...@@ -219,7 +219,7 @@ int __init fastlane_esp_detect(Scsi_Host_Template *tpnt) ...@@ -219,7 +219,7 @@ int __init fastlane_esp_detect(Scsi_Host_Template *tpnt)
return 0; return 0;
err_unmap: err_unmap:
iounmap((void *)address); z_iounmap((void *)address);
err_unregister: err_unregister:
scsi_unregister (esp->ehost); scsi_unregister (esp->ehost);
err_release: err_release:
......
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