diff options
author | <jejb@mulgrave.(none)> | 2005-04-03 05:57:48 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-16 21:09:43 -0400 |
commit | 56fece20086ebe32bce2c0d74ceadd516b56baae (patch) | |
tree | 3ce88fad34483bfc393feb2ee5f3a7f4b8a17f0b /drivers/scsi/NCR_D700.c | |
parent | e183b06bf0be6c525867476df186d20f8f1efe54 (diff) |
[PATCH] finally fix 53c700 to use the generic iomem infrastructure
This driver has had it's own different infrastructure for doing this for
ages, but it's time it used the common one.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/NCR_D700.c')
-rw-r--r-- | drivers/scsi/NCR_D700.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/NCR_D700.c b/drivers/scsi/NCR_D700.c index 507751941f1e..e993a7ba276f 100644 --- a/drivers/scsi/NCR_D700.c +++ b/drivers/scsi/NCR_D700.c | |||
@@ -197,12 +197,10 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq, | |||
197 | } | 197 | } |
198 | 198 | ||
199 | /* Fill in the three required pieces of hostdata */ | 199 | /* Fill in the three required pieces of hostdata */ |
200 | hostdata->base = region; | 200 | hostdata->base = ioport_map(region, 64); |
201 | hostdata->differential = (((1<<siop) & differential) != 0); | 201 | hostdata->differential = (((1<<siop) & differential) != 0); |
202 | hostdata->clock = NCR_D700_CLOCK_MHZ; | 202 | hostdata->clock = NCR_D700_CLOCK_MHZ; |
203 | 203 | ||
204 | NCR_700_set_io_mapped(hostdata); | ||
205 | |||
206 | /* and register the siop */ | 204 | /* and register the siop */ |
207 | host = NCR_700_detect(&NCR_D700_driver_template, hostdata, p->dev); | 205 | host = NCR_700_detect(&NCR_D700_driver_template, hostdata, p->dev); |
208 | if (!host) { | 206 | if (!host) { |
@@ -214,6 +212,7 @@ NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq, | |||
214 | /* FIXME: read this from SUS */ | 212 | /* FIXME: read this from SUS */ |
215 | host->this_id = id_array[slot * 2 + siop]; | 213 | host->this_id = id_array[slot * 2 + siop]; |
216 | host->irq = irq; | 214 | host->irq = irq; |
215 | host->base = region; | ||
217 | scsi_scan_host(host); | 216 | scsi_scan_host(host); |
218 | 217 | ||
219 | return 0; | 218 | return 0; |