summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/t128.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/t128.c')
-rw-r--r--drivers/scsi/t128.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c
index eb7fae277fc6..339f018f8950 100644
--- a/drivers/scsi/t128.c
+++ b/drivers/scsi/t128.c
@@ -182,9 +182,8 @@ static int __init t128_detect(struct scsi_host_template *tpnt)
182 base = 0; 182 base = 0;
183 } else 183 } else
184 for (; !base && (current_base < NO_BASES); ++current_base) { 184 for (; !base && (current_base < NO_BASES); ++current_base) {
185#if (TDEBUG & TDEBUG_INIT) 185 dprintk(NDEBUG_INIT, "t128: probing address 0x%08x\n",
186 printk("scsi-t128 : probing address %08x\n", bases[current_base].address); 186 bases[current_base].address);
187#endif
188 if (bases[current_base].noauto) 187 if (bases[current_base].noauto)
189 continue; 188 continue;
190 p = ioremap(bases[current_base].address, 0x2000); 189 p = ioremap(bases[current_base].address, 0x2000);
@@ -195,17 +194,13 @@ static int __init t128_detect(struct scsi_host_template *tpnt)
195 signatures[sig].string, 194 signatures[sig].string,
196 strlen(signatures[sig].string))) { 195 strlen(signatures[sig].string))) {
197 base = bases[current_base].address; 196 base = bases[current_base].address;
198#if (TDEBUG & TDEBUG_INIT) 197 dprintk(NDEBUG_INIT, "t128: detected board\n");
199 printk("scsi-t128 : detected board.\n");
200#endif
201 goto found; 198 goto found;
202 } 199 }
203 iounmap(p); 200 iounmap(p);
204 } 201 }
205 202
206#if defined(TDEBUG) && (TDEBUG & TDEBUG_INIT) 203 dprintk(NDEBUG_INIT, "t128: base = 0x%08x\n", (unsigned int)base);
207 printk("scsi-t128 : base = %08x\n", (unsigned int) base);
208#endif
209 204
210 if (!base) 205 if (!base)
211 break; 206 break;
@@ -242,9 +237,8 @@ found:
242 printk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no); 237 printk("scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
243 } 238 }
244 239
245#if defined(TDEBUG) && (TDEBUG & TDEBUG_INIT) 240 dprintk(NDEBUG_INIT, "scsi%d: irq = %d\n",
246 printk("scsi%d : irq = %d\n", instance->host_no, instance->irq); 241 instance->host_no, instance->irq);
247#endif
248 242
249 ++current_override; 243 ++current_override;
250 ++count; 244 ++count;