]> err.no Git - linux-2.6/blobdiff - drivers/scsi/NCR_D700.c
[SCSI] Remove last page_address from dc395x.c
[linux-2.6] / drivers / scsi / NCR_D700.c
index 507751941f1e65c65c6adfe0cb03f65d27b8be7d..577e6349977884dcad39f69d51cc1e9399b3f798 100644 (file)
@@ -197,12 +197,10 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
        }
                
        /* Fill in the three required pieces of hostdata */
-       hostdata->base = region;
+       hostdata->base = ioport_map(region, 64);
        hostdata->differential = (((1<<siop) & differential) != 0);
        hostdata->clock = NCR_D700_CLOCK_MHZ;
 
-       NCR_700_set_io_mapped(hostdata);
-
        /* and register the siop */
        host = NCR_700_detect(&NCR_D700_driver_template, hostdata, p->dev);
        if (!host) {
@@ -214,12 +212,13 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq,
        /* FIXME: read this from SUS */
        host->this_id = id_array[slot * 2 + siop];
        host->irq = irq;
+       host->base = region;
        scsi_scan_host(host);
 
        return 0;
 
  detect_failed:
-       release_region(host->base, 64);
+       release_region(region, 64);
  region_failed:
        kfree(hostdata);