diff options
Diffstat (limited to 'drivers/isdn/hisax/sportster.c')
-rw-r--r-- | drivers/isdn/hisax/sportster.c | 11 |
1 files changed, 5 insertions, 6 deletions
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 | ||
21 | extern const char *CardType[]; | ||
22 | static const char *sportster_revision = "$Revision: 1.16.2.4 $"; | 21 | static 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; |