aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-31 03:42:07 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-20 18:22:31 -0400
commit8349304d12cf1313bdbd6eb2083701d86809be24 (patch)
tree599d43c202cda35b80966d9f364559484ca4145a /drivers/isdn
parentd38c8475b4f3a684ac673dcedc88ffdb17b74882 (diff)
[ISDN] Hisax: eliminate many unnecessary references to CardType[]
For the vast majority of CardType[card->typ] uses (but not all!), the string is constant for each driver. Therefore, we may replace CardType[card->typ] with the actual string describing the driver, making each printk() a bit more simple. This also has the nice, intended side effect of greatly reducing external references to hisax global CardType[]. This will be of value once the ISDN drivers are converted to the ISA/PCI/PNP hotplug APIs. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/asuscom.c5
-rw-r--r--drivers/isdn/hisax/avm_a1.c27
-rw-r--r--drivers/isdn/hisax/bkm_a4t.c19
-rw-r--r--drivers/isdn/hisax/bkm_a8.c31
-rw-r--r--drivers/isdn/hisax/gazel.c5
-rw-r--r--drivers/isdn/hisax/hfc_pci.c2
-rw-r--r--drivers/isdn/hisax/hfc_sx.c2
-rw-r--r--drivers/isdn/hisax/isurf.c13
-rw-r--r--drivers/isdn/hisax/ix1_micro.c9
-rw-r--r--drivers/isdn/hisax/mic.c5
-rw-r--r--drivers/isdn/hisax/netjet.h2
-rw-r--r--drivers/isdn/hisax/niccy.c19
-rw-r--r--drivers/isdn/hisax/nj_s.c3
-rw-r--r--drivers/isdn/hisax/nj_u.c4
-rw-r--r--drivers/isdn/hisax/s0box.c13
-rw-r--r--drivers/isdn/hisax/saphir.c8
-rw-r--r--drivers/isdn/hisax/sportster.c11
-rw-r--r--drivers/isdn/hisax/teleint.c5
-rw-r--r--drivers/isdn/hisax/telespci.c5
-rw-r--r--drivers/isdn/hisax/w6692.c2
20 files changed, 70 insertions, 120 deletions
diff --git a/drivers/isdn/hisax/asuscom.c b/drivers/isdn/hisax/asuscom.c
index 61e69e9c4aa9..b96f3184c2e5 100644
--- a/drivers/isdn/hisax/asuscom.c
+++ b/drivers/isdn/hisax/asuscom.c
@@ -20,8 +20,6 @@
20#include "hscx.h" 20#include "hscx.h"
21#include "isdnl1.h" 21#include "isdnl1.h"
22 22
23extern const char *CardType[];
24
25static const char *Asuscom_revision = "$Revision: 1.14.2.4 $"; 23static const char *Asuscom_revision = "$Revision: 1.14.2.4 $";
26 24
27#define byteout(addr,val) outb(val,addr) 25#define byteout(addr,val) outb(val,addr)
@@ -376,8 +374,7 @@ setup_asuscom(struct IsdnCard *card)
376 cs->irq = card->para[0]; 374 cs->irq = card->para[0];
377 if (!request_region(cs->hw.asus.cfg_reg, bytecnt, "asuscom isdn")) { 375 if (!request_region(cs->hw.asus.cfg_reg, bytecnt, "asuscom isdn")) {
378 printk(KERN_WARNING 376 printk(KERN_WARNING
379 "HiSax: %s config port %x-%x already in use\n", 377 "HiSax: ISDNLink config port %x-%x already in use\n",
380 CardType[card->typ],
381 cs->hw.asus.cfg_reg, 378 cs->hw.asus.cfg_reg,
382 cs->hw.asus.cfg_reg + bytecnt); 379 cs->hw.asus.cfg_reg + bytecnt);
383 return (0); 380 return (0);
diff --git a/drivers/isdn/hisax/avm_a1.c b/drivers/isdn/hisax/avm_a1.c
index d9028e9b9b8f..eb6b432e261f 100644
--- a/drivers/isdn/hisax/avm_a1.c
+++ b/drivers/isdn/hisax/avm_a1.c
@@ -16,7 +16,6 @@
16#include "hscx.h" 16#include "hscx.h"
17#include "isdnl1.h" 17#include "isdnl1.h"
18 18
19extern const char *CardType[];
20static const char *avm_revision = "$Revision: 2.15.2.4 $"; 19static const char *avm_revision = "$Revision: 2.15.2.4 $";
21 20
22#define AVM_A1_STAT_ISAC 0x01 21#define AVM_A1_STAT_ISAC 0x01
@@ -200,16 +199,14 @@ setup_avm_a1(struct IsdnCard *card)
200 cs->irq = card->para[0]; 199 cs->irq = card->para[0];
201 if (!request_region(cs->hw.avm.cfg_reg, 8, "avm cfg")) { 200 if (!request_region(cs->hw.avm.cfg_reg, 8, "avm cfg")) {
202 printk(KERN_WARNING 201 printk(KERN_WARNING
203 "HiSax: %s config port %x-%x already in use\n", 202 "HiSax: AVM A1 config port %x-%x already in use\n",
204 CardType[card->typ],
205 cs->hw.avm.cfg_reg, 203 cs->hw.avm.cfg_reg,
206 cs->hw.avm.cfg_reg + 8); 204 cs->hw.avm.cfg_reg + 8);
207 return (0); 205 return (0);
208 } 206 }
209 if (!request_region(cs->hw.avm.isac + 32, 32, "HiSax isac")) { 207 if (!request_region(cs->hw.avm.isac + 32, 32, "HiSax isac")) {
210 printk(KERN_WARNING 208 printk(KERN_WARNING
211 "HiSax: %s isac ports %x-%x already in use\n", 209 "HiSax: AVM A1 isac ports %x-%x already in use\n",
212 CardType[cs->typ],
213 cs->hw.avm.isac + 32, 210 cs->hw.avm.isac + 32,
214 cs->hw.avm.isac + 64); 211 cs->hw.avm.isac + 64);
215 release_ioregs(cs, 0); 212 release_ioregs(cs, 0);
@@ -217,16 +214,14 @@ setup_avm_a1(struct IsdnCard *card)
217 } 214 }
218 if (!request_region(cs->hw.avm.isacfifo, 1, "HiSax isac fifo")) { 215 if (!request_region(cs->hw.avm.isacfifo, 1, "HiSax isac fifo")) {
219 printk(KERN_WARNING 216 printk(KERN_WARNING
220 "HiSax: %s isac fifo port %x already in use\n", 217 "HiSax: AVM A1 isac fifo port %x already in use\n",
221 CardType[cs->typ],
222 cs->hw.avm.isacfifo); 218 cs->hw.avm.isacfifo);
223 release_ioregs(cs, 1); 219 release_ioregs(cs, 1);
224 return (0); 220 return (0);
225 } 221 }
226 if (!request_region(cs->hw.avm.hscx[0] + 32, 32, "HiSax hscx A")) { 222 if (!request_region(cs->hw.avm.hscx[0] + 32, 32, "HiSax hscx A")) {
227 printk(KERN_WARNING 223 printk(KERN_WARNING
228 "HiSax: %s hscx A ports %x-%x already in use\n", 224 "HiSax: AVM A1 hscx A ports %x-%x already in use\n",
229 CardType[cs->typ],
230 cs->hw.avm.hscx[0] + 32, 225 cs->hw.avm.hscx[0] + 32,
231 cs->hw.avm.hscx[0] + 64); 226 cs->hw.avm.hscx[0] + 64);
232 release_ioregs(cs, 3); 227 release_ioregs(cs, 3);
@@ -234,16 +229,14 @@ setup_avm_a1(struct IsdnCard *card)
234 } 229 }
235 if (!request_region(cs->hw.avm.hscxfifo[0], 1, "HiSax hscx A fifo")) { 230 if (!request_region(cs->hw.avm.hscxfifo[0], 1, "HiSax hscx A fifo")) {
236 printk(KERN_WARNING 231 printk(KERN_WARNING
237 "HiSax: %s hscx A fifo port %x already in use\n", 232 "HiSax: AVM A1 hscx A fifo port %x already in use\n",
238 CardType[cs->typ],
239 cs->hw.avm.hscxfifo[0]); 233 cs->hw.avm.hscxfifo[0]);
240 release_ioregs(cs, 7); 234 release_ioregs(cs, 7);
241 return (0); 235 return (0);
242 } 236 }
243 if (!request_region(cs->hw.avm.hscx[1] + 32, 32, "HiSax hscx B")) { 237 if (!request_region(cs->hw.avm.hscx[1] + 32, 32, "HiSax hscx B")) {
244 printk(KERN_WARNING 238 printk(KERN_WARNING
245 "HiSax: %s hscx B ports %x-%x already in use\n", 239 "HiSax: AVM A1 hscx B ports %x-%x already in use\n",
246 CardType[cs->typ],
247 cs->hw.avm.hscx[1] + 32, 240 cs->hw.avm.hscx[1] + 32,
248 cs->hw.avm.hscx[1] + 64); 241 cs->hw.avm.hscx[1] + 64);
249 release_ioregs(cs, 0xf); 242 release_ioregs(cs, 0xf);
@@ -251,8 +244,7 @@ setup_avm_a1(struct IsdnCard *card)
251 } 244 }
252 if (!request_region(cs->hw.avm.hscxfifo[1], 1, "HiSax hscx B fifo")) { 245 if (!request_region(cs->hw.avm.hscxfifo[1], 1, "HiSax hscx B fifo")) {
253 printk(KERN_WARNING 246 printk(KERN_WARNING
254 "HiSax: %s hscx B fifo port %x already in use\n", 247 "HiSax: AVM A1 hscx B fifo port %x already in use\n",
255 CardType[cs->typ],
256 cs->hw.avm.hscxfifo[1]); 248 cs->hw.avm.hscxfifo[1]);
257 release_ioregs(cs, 0x1f); 249 release_ioregs(cs, 0x1f);
258 return (0); 250 return (0);
@@ -284,9 +276,8 @@ setup_avm_a1(struct IsdnCard *card)
284 printk(KERN_INFO "AVM A1: Byte at %x is %x\n", 276 printk(KERN_INFO "AVM A1: Byte at %x is %x\n",
285 cs->hw.avm.cfg_reg, val); 277 cs->hw.avm.cfg_reg, val);
286 278
287 printk(KERN_INFO 279 printk(KERN_INFO "HiSax: AVM A1 config irq:%d cfg:0x%X\n",
288 "HiSax: %s config irq:%d cfg:0x%X\n", 280 cs->irq,
289 CardType[cs->typ], cs->irq,
290 cs->hw.avm.cfg_reg); 281 cs->hw.avm.cfg_reg);
291 printk(KERN_INFO 282 printk(KERN_INFO
292 "HiSax: isac:0x%X/0x%X\n", 283 "HiSax: isac:0x%X/0x%X\n",
diff --git a/drivers/isdn/hisax/bkm_a4t.c b/drivers/isdn/hisax/bkm_a4t.c
index 3d1bdc8431ad..9ca2ee54cc94 100644
--- a/drivers/isdn/hisax/bkm_a4t.c
+++ b/drivers/isdn/hisax/bkm_a4t.c
@@ -20,8 +20,6 @@
20#include <linux/pci.h> 20#include <linux/pci.h>
21#include "bkm_ax.h" 21#include "bkm_ax.h"
22 22
23extern const char *CardType[];
24
25static const char *bkm_a4t_revision = "$Revision: 1.22.2.4 $"; 23static const char *bkm_a4t_revision = "$Revision: 1.22.2.4 $";
26 24
27 25
@@ -284,15 +282,16 @@ static int __devinit a4t_cs_init(struct IsdnCard *card,
284 I20_REGISTER_FILE *pI20_Regs; 282 I20_REGISTER_FILE *pI20_Regs;
285 283
286 if (!cs->irq) { /* IRQ range check ?? */ 284 if (!cs->irq) { /* IRQ range check ?? */
287 printk(KERN_WARNING "HiSax: %s: No IRQ\n", CardType[card->typ]); 285 printk(KERN_WARNING "HiSax: Telekom A4T: No IRQ\n");
288 return (0); 286 return (0);
289 } 287 }
290 cs->hw.ax.base = (long) ioremap(pci_memaddr, 4096); 288 cs->hw.ax.base = (long) ioremap(pci_memaddr, 4096);
291 /* Check suspecious address */ 289 /* Check suspecious address */
292 pI20_Regs = (I20_REGISTER_FILE *) (cs->hw.ax.base); 290 pI20_Regs = (I20_REGISTER_FILE *) (cs->hw.ax.base);
293 if ((pI20_Regs->i20IntStatus & 0x8EFFFFFF) != 0) { 291 if ((pI20_Regs->i20IntStatus & 0x8EFFFFFF) != 0) {
294 printk(KERN_WARNING "HiSax: %s address %lx-%lx suspecious\n", 292 printk(KERN_WARNING "HiSax: Telekom A4T address "
295 CardType[card->typ], cs->hw.ax.base, cs->hw.ax.base + 4096); 293 "%lx-%lx suspicious\n",
294 cs->hw.ax.base, cs->hw.ax.base + 4096);
296 iounmap((void *) cs->hw.ax.base); 295 iounmap((void *) cs->hw.ax.base);
297 cs->hw.ax.base = 0; 296 cs->hw.ax.base = 0;
298 return (0); 297 return (0);
@@ -302,8 +301,9 @@ static int __devinit a4t_cs_init(struct IsdnCard *card,
302 cs->hw.ax.isac_ale = GCS_1; 301 cs->hw.ax.isac_ale = GCS_1;
303 cs->hw.ax.jade_ale = GCS_3; 302 cs->hw.ax.jade_ale = GCS_3;
304 303
305 printk(KERN_INFO "HiSax: %s: Card configured at 0x%lX IRQ %d\n", 304 printk(KERN_INFO "HiSax: Telekom A4T: Card configured at "
306 CardType[card->typ], cs->hw.ax.base, cs->irq); 305 "0x%lX IRQ %d\n",
306 cs->hw.ax.base, cs->irq);
307 307
308 setup_isac(cs); 308 setup_isac(cs);
309 cs->readisac = &ReadISAC; 309 cs->readisac = &ReadISAC;
@@ -349,11 +349,12 @@ setup_bkm_a4t(struct IsdnCard *card)
349 break; 349 break;
350 } 350 }
351 if (!found) { 351 if (!found) {
352 printk(KERN_WARNING "HiSax: %s: Card not found\n", CardType[card->typ]); 352 printk(KERN_WARNING "HiSax: Telekom A4T: Card not found\n");
353 return (0); 353 return (0);
354 } 354 }
355 if (!pci_memaddr) { 355 if (!pci_memaddr) {
356 printk(KERN_WARNING "HiSax: %s: No Memory base address\n", CardType[card->typ]); 356 printk(KERN_WARNING "HiSax: Telekom A4T: "
357 "No Memory base address\n");
357 return (0); 358 return (0);
358 } 359 }
359 360
diff --git a/drivers/isdn/hisax/bkm_a8.c b/drivers/isdn/hisax/bkm_a8.c
index 99ef3b43fcd7..e1ff4717a8a6 100644
--- a/drivers/isdn/hisax/bkm_a8.c
+++ b/drivers/isdn/hisax/bkm_a8.c
@@ -22,8 +22,6 @@
22 22
23#define ATTEMPT_PCI_REMAPPING /* Required for PLX rev 1 */ 23#define ATTEMPT_PCI_REMAPPING /* Required for PLX rev 1 */
24 24
25extern const char *CardType[];
26
27static const char sct_quadro_revision[] = "$Revision: 1.22.2.4 $"; 25static const char sct_quadro_revision[] = "$Revision: 1.22.2.4 $";
28 26
29static const char *sct_quadro_subtypes[] = 27static const char *sct_quadro_subtypes[] =
@@ -181,8 +179,7 @@ bkm_interrupt_ipac(int intno, void *dev_id)
181 goto Start_IPAC; 179 goto Start_IPAC;
182 } 180 }
183 if (!icnt) 181 if (!icnt)
184 printk(KERN_WARNING "HiSax: %s (%s) IRQ LOOP\n", 182 printk(KERN_WARNING "HiSax: Scitel Quadro (%s) IRQ LOOP\n",
185 CardType[cs->typ],
186 sct_quadro_subtypes[cs->subtyp]); 183 sct_quadro_subtypes[cs->subtyp]);
187 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, 0xFF); 184 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, 0xFF);
188 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, 0xC0); 185 writereg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_MASK, 0xC0);
@@ -296,8 +293,8 @@ setup_sct_quadro(struct IsdnCard *card)
296 if (card->para[0] >= SCT_1 && card->para[0] <= SCT_4) 293 if (card->para[0] >= SCT_1 && card->para[0] <= SCT_4)
297 cs->subtyp = card->para[0]; 294 cs->subtyp = card->para[0];
298 else { 295 else {
299 printk(KERN_WARNING "HiSax: %s: Invalid subcontroller in configuration, default to 1\n", 296 printk(KERN_WARNING "HiSax: Scitel Quadro: Invalid "
300 CardType[card->typ]); 297 "subcontroller in configuration, default to 1\n");
301 return (0); 298 return (0);
302 } 299 }
303 if ((cs->subtyp != SCT_1) && ((sub_sys_id != PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO) || 300 if ((cs->subtyp != SCT_1) && ((sub_sys_id != PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO) ||
@@ -322,16 +319,16 @@ setup_sct_quadro(struct IsdnCard *card)
322 } 319 }
323 } 320 }
324 if (!found) { 321 if (!found) {
325 printk(KERN_WARNING "HiSax: %s (%s): Card not found\n", 322 printk(KERN_WARNING "HiSax: Scitel Quadro (%s): "
326 CardType[card->typ], 323 "Card not found\n",
327 sct_quadro_subtypes[cs->subtyp]); 324 sct_quadro_subtypes[cs->subtyp]);
328 return (0); 325 return (0);
329 } 326 }
330#ifdef ATTEMPT_PCI_REMAPPING 327#ifdef ATTEMPT_PCI_REMAPPING
331/* HACK: PLX revision 1 bug: PLX address bit 7 must not be set */ 328/* HACK: PLX revision 1 bug: PLX address bit 7 must not be set */
332 if ((pci_ioaddr1 & 0x80) && (dev_a8->revision == 1)) { 329 if ((pci_ioaddr1 & 0x80) && (dev_a8->revision == 1)) {
333 printk(KERN_WARNING "HiSax: %s (%s): PLX rev 1, remapping required!\n", 330 printk(KERN_WARNING "HiSax: Scitel Quadro (%s): "
334 CardType[card->typ], 331 "PLX rev 1, remapping required!\n",
335 sct_quadro_subtypes[cs->subtyp]); 332 sct_quadro_subtypes[cs->subtyp]);
336 /* Restart PCI negotiation */ 333 /* Restart PCI negotiation */
337 pci_write_config_dword(dev_a8, PCI_BASE_ADDRESS_1, (u_int) - 1); 334 pci_write_config_dword(dev_a8, PCI_BASE_ADDRESS_1, (u_int) - 1);
@@ -344,8 +341,7 @@ setup_sct_quadro(struct IsdnCard *card)
344#endif /* End HACK */ 341#endif /* End HACK */
345 } 342 }
346 if (!pci_irq) { /* IRQ range check ?? */ 343 if (!pci_irq) { /* IRQ range check ?? */
347 printk(KERN_WARNING "HiSax: %s (%s): No IRQ\n", 344 printk(KERN_WARNING "HiSax: Scitel Quadro (%s): No IRQ\n",
348 CardType[card->typ],
349 sct_quadro_subtypes[cs->subtyp]); 345 sct_quadro_subtypes[cs->subtyp]);
350 return (0); 346 return (0);
351 } 347 }
@@ -355,8 +351,8 @@ setup_sct_quadro(struct IsdnCard *card)
355 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_4, &pci_ioaddr4); 351 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_4, &pci_ioaddr4);
356 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_5, &pci_ioaddr5); 352 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_5, &pci_ioaddr5);
357 if (!pci_ioaddr1 || !pci_ioaddr2 || !pci_ioaddr3 || !pci_ioaddr4 || !pci_ioaddr5) { 353 if (!pci_ioaddr1 || !pci_ioaddr2 || !pci_ioaddr3 || !pci_ioaddr4 || !pci_ioaddr5) {
358 printk(KERN_WARNING "HiSax: %s (%s): No IO base address(es)\n", 354 printk(KERN_WARNING "HiSax: Scitel Quadro (%s): "
359 CardType[card->typ], 355 "No IO base address(es)\n",
360 sct_quadro_subtypes[cs->subtyp]); 356 sct_quadro_subtypes[cs->subtyp]);
361 return (0); 357 return (0);
362 } 358 }
@@ -411,8 +407,8 @@ setup_sct_quadro(struct IsdnCard *card)
411 /* For isac and hscx data path */ 407 /* For isac and hscx data path */
412 cs->hw.ax.data_adr = cs->hw.ax.base + 4; 408 cs->hw.ax.data_adr = cs->hw.ax.base + 4;
413 409
414 printk(KERN_INFO "HiSax: %s (%s) configured at 0x%.4lX, 0x%.4lX, 0x%.4lX and IRQ %d\n", 410 printk(KERN_INFO "HiSax: Scitel Quadro (%s) configured at "
415 CardType[card->typ], 411 "0x%.4lX, 0x%.4lX, 0x%.4lX and IRQ %d\n",
416 sct_quadro_subtypes[cs->subtyp], 412 sct_quadro_subtypes[cs->subtyp],
417 cs->hw.ax.plx_adr, 413 cs->hw.ax.plx_adr,
418 cs->hw.ax.base, 414 cs->hw.ax.base,
@@ -432,8 +428,7 @@ setup_sct_quadro(struct IsdnCard *card)
432 cs->cardmsg = &BKM_card_msg; 428 cs->cardmsg = &BKM_card_msg;
433 cs->irq_func = &bkm_interrupt_ipac; 429 cs->irq_func = &bkm_interrupt_ipac;
434 430
435 printk(KERN_INFO "HiSax: %s (%s): IPAC Version %d\n", 431 printk(KERN_INFO "HiSax: Scitel Quadro (%s): IPAC Version %d\n",
436 CardType[card->typ],
437 sct_quadro_subtypes[cs->subtyp], 432 sct_quadro_subtypes[cs->subtyp],
438 readreg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_ID)); 433 readreg(cs->hw.ax.base, cs->hw.ax.data_adr, IPAC_ID));
439 return (1); 434 return (1);
diff --git a/drivers/isdn/hisax/gazel.c b/drivers/isdn/hisax/gazel.c
index f66620ad8e7c..0ea3b4607680 100644
--- a/drivers/isdn/hisax/gazel.c
+++ b/drivers/isdn/hisax/gazel.c
@@ -19,7 +19,6 @@
19#include "ipac.h" 19#include "ipac.h"
20#include <linux/pci.h> 20#include <linux/pci.h>
21 21
22extern const char *CardType[];
23static const char *gazel_revision = "$Revision: 2.19.2.4 $"; 22static const char *gazel_revision = "$Revision: 2.19.2.4 $";
24 23
25#define R647 1 24#define R647 1
@@ -479,8 +478,8 @@ reserve_regions(struct IsdnCard *card, struct IsdnCardState *cs)
479 return 0; 478 return 0;
480 479
481 error: 480 error:
482 printk(KERN_WARNING "Gazel: %s io ports 0x%x-0x%x already in use\n", 481 printk(KERN_WARNING "Gazel: io ports 0x%x-0x%x already in use\n",
483 CardType[cs->typ], adr, adr + len); 482 adr, adr + len);
484 return 1; 483 return 1;
485} 484}
486 485
diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c
index fba8b624ffcf..f1265667b062 100644
--- a/drivers/isdn/hisax/hfc_pci.c
+++ b/drivers/isdn/hisax/hfc_pci.c
@@ -22,8 +22,6 @@
22#include <linux/pci.h> 22#include <linux/pci.h>
23#include <linux/interrupt.h> 23#include <linux/interrupt.h>
24 24
25extern const char *CardType[];
26
27static const char *hfcpci_revision = "$Revision: 1.48.2.4 $"; 25static const char *hfcpci_revision = "$Revision: 1.48.2.4 $";
28 26
29/* table entry in the PCI devices list */ 27/* table entry in the PCI devices list */
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c
index 05482d2688e3..f4a213877e35 100644
--- a/drivers/isdn/hisax/hfc_sx.c
+++ b/drivers/isdn/hisax/hfc_sx.c
@@ -18,8 +18,6 @@
18#include <linux/interrupt.h> 18#include <linux/interrupt.h>
19#include <linux/isapnp.h> 19#include <linux/isapnp.h>
20 20
21extern const char *CardType[];
22
23static const char *hfcsx_revision = "$Revision: 1.12.2.5 $"; 21static const char *hfcsx_revision = "$Revision: 1.12.2.5 $";
24 22
25/***************************************/ 23/***************************************/
diff --git a/drivers/isdn/hisax/isurf.c b/drivers/isdn/hisax/isurf.c
index 55de06953540..ca4161798cdf 100644
--- a/drivers/isdn/hisax/isurf.c
+++ b/drivers/isdn/hisax/isurf.c
@@ -17,8 +17,6 @@
17#include "isdnl1.h" 17#include "isdnl1.h"
18#include <linux/isapnp.h> 18#include <linux/isapnp.h>
19 19
20extern const char *CardType[];
21
22static const char *ISurf_revision = "$Revision: 1.12.2.4 $"; 20static const char *ISurf_revision = "$Revision: 1.12.2.4 $";
23 21
24#define byteout(addr,val) outb(val,addr) 22#define byteout(addr,val) outb(val,addr)
@@ -251,22 +249,19 @@ setup_isurf(struct IsdnCard *card)
251 return(0); 249 return(0);
252 } 250 }
253#else 251#else
254 printk(KERN_WARNING "HiSax: %s port/mem not set\n", 252 printk(KERN_WARNING "HiSax: Siemens I-Surf port/mem not set\n");
255 CardType[card->typ]);
256 return (0); 253 return (0);
257#endif 254#endif
258 } 255 }
259 if (!request_region(cs->hw.isurf.reset, 1, "isurf isdn")) { 256 if (!request_region(cs->hw.isurf.reset, 1, "isurf isdn")) {
260 printk(KERN_WARNING 257 printk(KERN_WARNING
261 "HiSax: %s config port %x already in use\n", 258 "HiSax: Siemens I-Surf config port %x already in use\n",
262 CardType[card->typ],
263 cs->hw.isurf.reset); 259 cs->hw.isurf.reset);
264 return (0); 260 return (0);
265 } 261 }
266 if (!request_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE, "isurf iomem")) { 262 if (!request_region(cs->hw.isurf.phymem, ISURF_IOMEM_SIZE, "isurf iomem")) {
267 printk(KERN_WARNING 263 printk(KERN_WARNING "HiSax: Siemens I-Surf memory region "
268 "HiSax: %s memory region %lx-%lx already in use\n", 264 "%lx-%lx already in use\n",
269 CardType[card->typ],
270 cs->hw.isurf.phymem, 265 cs->hw.isurf.phymem,
271 cs->hw.isurf.phymem + ISURF_IOMEM_SIZE); 266 cs->hw.isurf.phymem + ISURF_IOMEM_SIZE);
272 release_region(cs->hw.isurf.reset, 1); 267 release_region(cs->hw.isurf.reset, 1);
diff --git a/drivers/isdn/hisax/ix1_micro.c b/drivers/isdn/hisax/ix1_micro.c
index 252d79de5e5e..2d18d4f1e57e 100644
--- a/drivers/isdn/hisax/ix1_micro.c
+++ b/drivers/isdn/hisax/ix1_micro.c
@@ -24,7 +24,6 @@
24#include "hscx.h" 24#include "hscx.h"
25#include "isdnl1.h" 25#include "isdnl1.h"
26 26
27extern const char *CardType[];
28static const char *ix1_revision = "$Revision: 2.12.2.4 $"; 27static const char *ix1_revision = "$Revision: 2.12.2.4 $";
29 28
30#define byteout(addr,val) outb(val,addr) 29#define byteout(addr,val) outb(val,addr)
@@ -288,15 +287,15 @@ setup_ix1micro(struct IsdnCard *card)
288 if (cs->hw.ix1.cfg_reg) { 287 if (cs->hw.ix1.cfg_reg) {
289 if (!request_region(cs->hw.ix1.cfg_reg, 4, "ix1micro cfg")) { 288 if (!request_region(cs->hw.ix1.cfg_reg, 4, "ix1micro cfg")) {
290 printk(KERN_WARNING 289 printk(KERN_WARNING
291 "HiSax: %s config port %x-%x already in use\n", 290 "HiSax: ITK ix1-micro Rev.2 config port "
292 CardType[card->typ], 291 "%x-%x already in use\n",
293 cs->hw.ix1.cfg_reg, 292 cs->hw.ix1.cfg_reg,
294 cs->hw.ix1.cfg_reg + 4); 293 cs->hw.ix1.cfg_reg + 4);
295 return (0); 294 return (0);
296 } 295 }
297 } 296 }
298 printk(KERN_INFO "HiSax: %s config irq:%d io:0x%X\n", 297 printk(KERN_INFO "HiSax: ITK ix1-micro Rev.2 config irq:%d io:0x%X\n",
299 CardType[cs->typ], cs->irq, cs->hw.ix1.cfg_reg); 298 cs->irq, cs->hw.ix1.cfg_reg);
300 setup_isac(cs); 299 setup_isac(cs);
301 cs->readisac = &ReadISAC; 300 cs->readisac = &ReadISAC;
302 cs->writeisac = &WriteISAC; 301 cs->writeisac = &WriteISAC;
diff --git a/drivers/isdn/hisax/mic.c b/drivers/isdn/hisax/mic.c
index a81d175d9f64..253943029d25 100644
--- a/drivers/isdn/hisax/mic.c
+++ b/drivers/isdn/hisax/mic.c
@@ -16,8 +16,6 @@
16#include "hscx.h" 16#include "hscx.h"
17#include "isdnl1.h" 17#include "isdnl1.h"
18 18
19extern const char *CardType[];
20
21static const char *mic_revision = "$Revision: 1.12.2.4 $"; 19static const char *mic_revision = "$Revision: 1.12.2.4 $";
22 20
23#define byteout(addr,val) outb(val,addr) 21#define byteout(addr,val) outb(val,addr)
@@ -210,8 +208,7 @@ setup_mic(struct IsdnCard *card)
210 208
211 if (!request_region(cs->hw.mic.cfg_reg, bytecnt, "mic isdn")) { 209 if (!request_region(cs->hw.mic.cfg_reg, bytecnt, "mic isdn")) {
212 printk(KERN_WARNING 210 printk(KERN_WARNING
213 "HiSax: %s config port %x-%x already in use\n", 211 "HiSax: ith mic config port %x-%x already in use\n",
214 CardType[card->typ],
215 cs->hw.mic.cfg_reg, 212 cs->hw.mic.cfg_reg,
216 cs->hw.mic.cfg_reg + bytecnt); 213 cs->hw.mic.cfg_reg + bytecnt);
217 return (0); 214 return (0);
diff --git a/drivers/isdn/hisax/netjet.h b/drivers/isdn/hisax/netjet.h
index 4d89d3ea4173..68e504d4ebf9 100644
--- a/drivers/isdn/hisax/netjet.h
+++ b/drivers/isdn/hisax/netjet.h
@@ -12,8 +12,6 @@
12 * 12 *
13 */ 13 */
14 14
15extern const char *CardType[];
16
17#define byteout(addr,val) outb(val,addr) 15#define byteout(addr,val) outb(val,addr)
18#define bytein(addr) inb(addr) 16#define bytein(addr) inb(addr)
19 17
diff --git a/drivers/isdn/hisax/niccy.c b/drivers/isdn/hisax/niccy.c
index bd9921128aa8..421b8e6763d7 100644
--- a/drivers/isdn/hisax/niccy.c
+++ b/drivers/isdn/hisax/niccy.c
@@ -21,7 +21,6 @@
21#include <linux/pci.h> 21#include <linux/pci.h>
22#include <linux/isapnp.h> 22#include <linux/isapnp.h>
23 23
24extern const char *CardType[];
25static const char *niccy_revision = "$Revision: 1.21.2.4 $"; 24static const char *niccy_revision = "$Revision: 1.21.2.4 $";
26 25
27#define byteout(addr,val) outb(val,addr) 26#define byteout(addr,val) outb(val,addr)
@@ -284,14 +283,14 @@ int __devinit setup_niccy(struct IsdnCard *card)
284 cs->subtyp = NICCY_PNP; 283 cs->subtyp = NICCY_PNP;
285 cs->irq = card->para[0]; 284 cs->irq = card->para[0];
286 if (!request_region(cs->hw.niccy.isac, 2, "niccy data")) { 285 if (!request_region(cs->hw.niccy.isac, 2, "niccy data")) {
287 printk(KERN_WARNING "HiSax: %s data port %x-%x " 286 printk(KERN_WARNING "HiSax: NICCY data port %x-%x "
288 "already in use\n", CardType[card->typ], 287 "already in use\n",
289 cs->hw.niccy.isac, cs->hw.niccy.isac + 1); 288 cs->hw.niccy.isac, cs->hw.niccy.isac + 1);
290 return 0; 289 return 0;
291 } 290 }
292 if (!request_region(cs->hw.niccy.isac_ale, 2, "niccy addr")) { 291 if (!request_region(cs->hw.niccy.isac_ale, 2, "niccy addr")) {
293 printk(KERN_WARNING "HiSax: %s address port %x-%x " 292 printk(KERN_WARNING "HiSax: NICCY address port %x-%x "
294 "already in use\n", CardType[card->typ], 293 "already in use\n",
295 cs->hw.niccy.isac_ale, 294 cs->hw.niccy.isac_ale,
296 cs->hw.niccy.isac_ale + 1); 295 cs->hw.niccy.isac_ale + 1);
297 release_region(cs->hw.niccy.isac, 2); 296 release_region(cs->hw.niccy.isac, 2);
@@ -339,15 +338,13 @@ int __devinit setup_niccy(struct IsdnCard *card)
339 cs->hw.niccy.hscx_ale = pci_ioaddr + HSCX_PCI_ADDR; 338 cs->hw.niccy.hscx_ale = pci_ioaddr + HSCX_PCI_ADDR;
340 if (!request_region(cs->hw.niccy.isac, 4, "niccy")) { 339 if (!request_region(cs->hw.niccy.isac, 4, "niccy")) {
341 printk(KERN_WARNING 340 printk(KERN_WARNING
342 "HiSax: %s data port %x-%x already in use\n", 341 "HiSax: NICCY data port %x-%x already in use\n",
343 CardType[card->typ],
344 cs->hw.niccy.isac, cs->hw.niccy.isac + 4); 342 cs->hw.niccy.isac, cs->hw.niccy.isac + 4);
345 return 0; 343 return 0;
346 } 344 }
347 if (!request_region(cs->hw.niccy.cfg_reg, 0x40, "niccy pci")) { 345 if (!request_region(cs->hw.niccy.cfg_reg, 0x40, "niccy pci")) {
348 printk(KERN_WARNING 346 printk(KERN_WARNING
349 "HiSax: %s pci port %x-%x already in use\n", 347 "HiSax: NICCY pci port %x-%x already in use\n",
350 CardType[card->typ],
351 cs->hw.niccy.cfg_reg, 348 cs->hw.niccy.cfg_reg,
352 cs->hw.niccy.cfg_reg + 0x40); 349 cs->hw.niccy.cfg_reg + 0x40);
353 release_region(cs->hw.niccy.isac, 4); 350 release_region(cs->hw.niccy.isac, 4);
@@ -359,8 +356,8 @@ int __devinit setup_niccy(struct IsdnCard *card)
359 return 0; 356 return 0;
360#endif /* CONFIG_PCI_LEGACY */ 357#endif /* CONFIG_PCI_LEGACY */
361 } 358 }
362 printk(KERN_INFO "HiSax: %s %s config irq:%d data:0x%X ale:0x%X\n", 359 printk(KERN_INFO "HiSax: NICCY %s config irq:%d data:0x%X ale:0x%X\n",
363 CardType[cs->typ], (cs->subtyp == 1) ? "PnP" : "PCI", 360 (cs->subtyp == 1) ? "PnP" : "PCI",
364 cs->irq, cs->hw.niccy.isac, cs->hw.niccy.isac_ale); 361 cs->irq, cs->hw.niccy.isac, cs->hw.niccy.isac_ale);
365 setup_isac(cs); 362 setup_isac(cs);
366 cs->readisac = &ReadISAC; 363 cs->readisac = &ReadISAC;
diff --git a/drivers/isdn/hisax/nj_s.c b/drivers/isdn/hisax/nj_s.c
index a895dfed40e5..8d36ccc87d81 100644
--- a/drivers/isdn/hisax/nj_s.c
+++ b/drivers/isdn/hisax/nj_s.c
@@ -235,8 +235,7 @@ static int __devinit njs_cs_init_rest(struct IsdnCard *card,
235 cs->subtyp ? "TJ320" : "TJ300", cs->hw.njet.base, cs->irq); 235 cs->subtyp ? "TJ320" : "TJ300", cs->hw.njet.base, cs->irq);
236 if (!request_region(cs->hw.njet.base, bytecnt, "netjet-s isdn")) { 236 if (!request_region(cs->hw.njet.base, bytecnt, "netjet-s isdn")) {
237 printk(KERN_WARNING 237 printk(KERN_WARNING
238 "HiSax: %s config port %#lx-%#lx already in use\n", 238 "HiSax: NETjet-S config port %#lx-%#lx already in use\n",
239 CardType[card->typ],
240 cs->hw.njet.base, 239 cs->hw.njet.base,
241 cs->hw.njet.base + bytecnt); 240 cs->hw.njet.base + bytecnt);
242 return (0); 241 return (0);
diff --git a/drivers/isdn/hisax/nj_u.c b/drivers/isdn/hisax/nj_u.c
index f017d3816b1d..d306c946ffba 100644
--- a/drivers/isdn/hisax/nj_u.c
+++ b/drivers/isdn/hisax/nj_u.c
@@ -197,8 +197,8 @@ static int __devinit nju_cs_init_rest(struct IsdnCard *card,
197 cs->hw.njet.base, cs->irq); 197 cs->hw.njet.base, cs->irq);
198 if (!request_region(cs->hw.njet.base, bytecnt, "netspider-u isdn")) { 198 if (!request_region(cs->hw.njet.base, bytecnt, "netspider-u isdn")) {
199 printk(KERN_WARNING 199 printk(KERN_WARNING
200 "HiSax: %s config port %#lx-%#lx already in use\n", 200 "HiSax: NETspider-U config port %#lx-%#lx "
201 CardType[card->typ], 201 "already in use\n",
202 cs->hw.njet.base, 202 cs->hw.njet.base,
203 cs->hw.njet.base + bytecnt); 203 cs->hw.njet.base + bytecnt);
204 return (0); 204 return (0);
diff --git a/drivers/isdn/hisax/s0box.c b/drivers/isdn/hisax/s0box.c
index 150ef68b4ae2..16d00b555c8c 100644
--- a/drivers/isdn/hisax/s0box.c
+++ b/drivers/isdn/hisax/s0box.c
@@ -16,7 +16,6 @@
16#include "hscx.h" 16#include "hscx.h"
17#include "isdnl1.h" 17#include "isdnl1.h"
18 18
19extern const char *CardType[];
20static const char *s0box_revision = "$Revision: 2.6.2.4 $"; 19static const char *s0box_revision = "$Revision: 2.6.2.4 $";
21 20
22static inline void 21static inline void
@@ -231,19 +230,15 @@ setup_s0box(struct IsdnCard *card)
231 cs->hw.teles3.hscxfifo[1] = cs->hw.teles3.hscx[1] + 0x3e; 230 cs->hw.teles3.hscxfifo[1] = cs->hw.teles3.hscx[1] + 0x3e;
232 cs->irq = card->para[0]; 231 cs->irq = card->para[0];
233 if (!request_region(cs->hw.teles3.cfg_reg,8, "S0Box parallel I/O")) { 232 if (!request_region(cs->hw.teles3.cfg_reg,8, "S0Box parallel I/O")) {
234 printk(KERN_WARNING 233 printk(KERN_WARNING "HiSax: S0Box ports %x-%x already in use\n",
235 "HiSax: %s ports %x-%x already in use\n",
236 CardType[cs->typ],
237 cs->hw.teles3.cfg_reg, 234 cs->hw.teles3.cfg_reg,
238 cs->hw.teles3.cfg_reg + 7); 235 cs->hw.teles3.cfg_reg + 7);
239 return 0; 236 return 0;
240 } 237 }
241 printk(KERN_INFO 238 printk(KERN_INFO "HiSax: S0Box config irq:%d isac:0x%x cfg:0x%x\n",
242 "HiSax: %s config irq:%d isac:0x%x cfg:0x%x\n", 239 cs->irq,
243 CardType[cs->typ], cs->irq,
244 cs->hw.teles3.isac, cs->hw.teles3.cfg_reg); 240 cs->hw.teles3.isac, cs->hw.teles3.cfg_reg);
245 printk(KERN_INFO 241 printk(KERN_INFO "HiSax: hscx A:0x%x hscx B:0x%x\n",
246 "HiSax: hscx A:0x%x hscx B:0x%x\n",
247 cs->hw.teles3.hscx[0], cs->hw.teles3.hscx[1]); 242 cs->hw.teles3.hscx[0], cs->hw.teles3.hscx[1]);
248 setup_isac(cs); 243 setup_isac(cs);
249 cs->readisac = &ReadISAC; 244 cs->readisac = &ReadISAC;
diff --git a/drivers/isdn/hisax/saphir.c b/drivers/isdn/hisax/saphir.c
index c99b16690fb3..b34a81d655b8 100644
--- a/drivers/isdn/hisax/saphir.c
+++ b/drivers/isdn/hisax/saphir.c
@@ -18,7 +18,6 @@
18#include "hscx.h" 18#include "hscx.h"
19#include "isdnl1.h" 19#include "isdnl1.h"
20 20
21extern const char *CardType[];
22static char *saphir_rev = "$Revision: 1.10.2.4 $"; 21static char *saphir_rev = "$Revision: 1.10.2.4 $";
23 22
24#define byteout(addr,val) outb(val,addr) 23#define byteout(addr,val) outb(val,addr)
@@ -260,15 +259,14 @@ setup_saphir(struct IsdnCard *card)
260 cs->irq = card->para[0]; 259 cs->irq = card->para[0];
261 if (!request_region(cs->hw.saphir.cfg_reg, 6, "saphir")) { 260 if (!request_region(cs->hw.saphir.cfg_reg, 6, "saphir")) {
262 printk(KERN_WARNING 261 printk(KERN_WARNING
263 "HiSax: %s config port %x-%x already in use\n", 262 "HiSax: HST Saphir config port %x-%x already in use\n",
264 CardType[card->typ],
265 cs->hw.saphir.cfg_reg, 263 cs->hw.saphir.cfg_reg,
266 cs->hw.saphir.cfg_reg + 5); 264 cs->hw.saphir.cfg_reg + 5);
267 return (0); 265 return (0);
268 } 266 }
269 267
270 printk(KERN_INFO "HiSax: %s config irq:%d io:0x%X\n", 268 printk(KERN_INFO "HiSax: HST Saphir config irq:%d io:0x%X\n",
271 CardType[cs->typ], cs->irq, cs->hw.saphir.cfg_reg); 269 cs->irq, cs->hw.saphir.cfg_reg);
272 270
273 setup_isac(cs); 271 setup_isac(cs);
274 cs->hw.saphir.timer.function = (void *) SaphirWatchDog; 272 cs->hw.saphir.timer.function = (void *) SaphirWatchDog;
diff --git a/drivers/isdn/hisax/sportster.c b/drivers/isdn/hisax/sportster.c
index 02209500b3b7..0a53759adfa4 100644
--- a/drivers/isdn/hisax/sportster.c
+++ b/drivers/isdn/hisax/sportster.c
@@ -18,7 +18,6 @@
18#include "hscx.h" 18#include "hscx.h"
19#include "isdnl1.h" 19#include "isdnl1.h"
20 20
21extern const char *CardType[];
22static const char *sportster_revision = "$Revision: 1.16.2.4 $"; 21static const char *sportster_revision = "$Revision: 1.16.2.4 $";
23 22
24#define byteout(addr,val) outb(val,addr) 23#define byteout(addr,val) outb(val,addr)
@@ -192,9 +191,9 @@ get_io_range(struct IsdnCardState *cs)
192 for (i=0;i<64;i++) { 191 for (i=0;i<64;i++) {
193 adr = cs->hw.spt.cfg_reg + i *1024; 192 adr = cs->hw.spt.cfg_reg + i *1024;
194 if (!request_region(adr, 8, "sportster")) { 193 if (!request_region(adr, 8, "sportster")) {
195 printk(KERN_WARNING 194 printk(KERN_WARNING "HiSax: USR Sportster config port "
196 "HiSax: %s config port %x-%x already in use\n", 195 "%x-%x already in use\n",
197 CardType[cs->typ], adr, adr + 8); 196 adr, adr + 8);
198 break; 197 break;
199 } 198 }
200 } 199 }
@@ -247,8 +246,8 @@ setup_sportster(struct IsdnCard *card)
247 printk(KERN_WARNING "Sportster: wrong IRQ\n"); 246 printk(KERN_WARNING "Sportster: wrong IRQ\n");
248 return(0); 247 return(0);
249 } 248 }
250 printk(KERN_INFO "HiSax: %s config irq:%d cfg:0x%X\n", 249 printk(KERN_INFO "HiSax: USR Sportster config irq:%d cfg:0x%X\n",
251 CardType[cs->typ], cs->irq, cs->hw.spt.cfg_reg); 250 cs->irq, cs->hw.spt.cfg_reg);
252 setup_isac(cs); 251 setup_isac(cs);
253 cs->readisac = &ReadISAC; 252 cs->readisac = &ReadISAC;
254 cs->writeisac = &WriteISAC; 253 cs->writeisac = &WriteISAC;
diff --git a/drivers/isdn/hisax/teleint.c b/drivers/isdn/hisax/teleint.c
index 0909662b7458..b0ce4ae45cbf 100644
--- a/drivers/isdn/hisax/teleint.c
+++ b/drivers/isdn/hisax/teleint.c
@@ -16,8 +16,6 @@
16#include "hfc_2bs0.h" 16#include "hfc_2bs0.h"
17#include "isdnl1.h" 17#include "isdnl1.h"
18 18
19extern const char *CardType[];
20
21static const char *TeleInt_revision = "$Revision: 1.16.2.5 $"; 19static const char *TeleInt_revision = "$Revision: 1.16.2.5 $";
22 20
23#define byteout(addr,val) outb(val,addr) 21#define byteout(addr,val) outb(val,addr)
@@ -286,8 +284,7 @@ setup_TeleInt(struct IsdnCard *card)
286 init_timer(&cs->hw.hfc.timer); 284 init_timer(&cs->hw.hfc.timer);
287 if (!request_region(cs->hw.hfc.addr, 2, "TeleInt isdn")) { 285 if (!request_region(cs->hw.hfc.addr, 2, "TeleInt isdn")) {
288 printk(KERN_WARNING 286 printk(KERN_WARNING
289 "HiSax: %s config port %x-%x already in use\n", 287 "HiSax: TeleInt config port %x-%x already in use\n",
290 CardType[card->typ],
291 cs->hw.hfc.addr, 288 cs->hw.hfc.addr,
292 cs->hw.hfc.addr + 2); 289 cs->hw.hfc.addr + 2);
293 return (0); 290 return (0);
diff --git a/drivers/isdn/hisax/telespci.c b/drivers/isdn/hisax/telespci.c
index 4393003ae162..28b08de4673d 100644
--- a/drivers/isdn/hisax/telespci.c
+++ b/drivers/isdn/hisax/telespci.c
@@ -19,7 +19,6 @@
19#include "isdnl1.h" 19#include "isdnl1.h"
20#include <linux/pci.h> 20#include <linux/pci.h>
21 21
22extern const char *CardType[];
23static const char *telespci_revision = "$Revision: 2.23.2.3 $"; 22static const char *telespci_revision = "$Revision: 2.23.2.3 $";
24 23
25#define ZORAN_PO_RQ_PEN 0x02000000 24#define ZORAN_PO_RQ_PEN 0x02000000
@@ -329,8 +328,8 @@ setup_telespci(struct IsdnCard *card)
329 /* writel(0x00800000, cs->hw.teles0.membase + 0x200); */ 328 /* writel(0x00800000, cs->hw.teles0.membase + 0x200); */
330 329
331 printk(KERN_INFO 330 printk(KERN_INFO
332 "HiSax: %s config irq:%d mem:%p\n", 331 "HiSax: Teles PCI config irq:%d mem:%p\n",
333 CardType[cs->typ], cs->irq, 332 cs->irq,
334 cs->hw.teles0.membase); 333 cs->hw.teles0.membase);
335 334
336 setup_isac(cs); 335 setup_isac(cs);
diff --git a/drivers/isdn/hisax/w6692.c b/drivers/isdn/hisax/w6692.c
index 39129b94f8be..bb1c8dd1a230 100644
--- a/drivers/isdn/hisax/w6692.c
+++ b/drivers/isdn/hisax/w6692.c
@@ -38,8 +38,6 @@ static const PCI_ENTRY id_list[] =
38#define W6692_DYNALINK 1 38#define W6692_DYNALINK 1
39#define W6692_USR 2 39#define W6692_USR 2
40 40
41extern const char *CardType[];
42
43static const char *w6692_revision = "$Revision: 1.18.2.4 $"; 41static const char *w6692_revision = "$Revision: 1.18.2.4 $";
44 42
45#define DBUSY_TIMER_VALUE 80 43#define DBUSY_TIMER_VALUE 80