]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/hisax/s0box.c
libata: blacklist Seagate drives which time out FLUSH_CACHE when used with NCQ
[linux-2.6-omap-h63xx.git] / drivers / isdn / hisax / s0box.c
index 7b63085ea6e51107c939e8011d86f03607f4f8f9..16d00b555c8cfa986dfa24776acc0a9dcdf92b1f 100644 (file)
@@ -16,7 +16,6 @@
 #include "hscx.h"
 #include "isdnl1.h"
 
-extern const char *CardType[];
 static const char *s0box_revision = "$Revision: 2.6.2.4 $";
 
 static inline void
@@ -141,7 +140,7 @@ WriteHSCX(struct IsdnCardState *cs, int hscx, u_char offset, u_char value)
 #include "hscx_irq.c"
 
 static irqreturn_t
-s0box_interrupt(int intno, void *dev_id, struct pt_regs *regs)
+s0box_interrupt(int intno, void *dev_id)
 {
 #define MAXCOUNT 5
        struct IsdnCardState *cs = dev_id;
@@ -211,7 +210,7 @@ S0Box_card_msg(struct IsdnCardState *cs, int mt, void *arg)
        return(0);
 }
 
-int __init
+int __devinit
 setup_s0box(struct IsdnCard *card)
 {
        struct IsdnCardState *cs = card->cs;
@@ -231,19 +230,15 @@ setup_s0box(struct IsdnCard *card)
        cs->hw.teles3.hscxfifo[1] = cs->hw.teles3.hscx[1] + 0x3e;
        cs->irq = card->para[0];
        if (!request_region(cs->hw.teles3.cfg_reg,8, "S0Box parallel I/O")) {
-               printk(KERN_WARNING
-                      "HiSax: %s ports %x-%x already in use\n",
-                      CardType[cs->typ],
+               printk(KERN_WARNING "HiSax: S0Box ports %x-%x already in use\n",
                        cs->hw.teles3.cfg_reg,
                        cs->hw.teles3.cfg_reg + 7);
                return 0;
        }
-       printk(KERN_INFO
-               "HiSax: %s config irq:%d isac:0x%x  cfg:0x%x\n",
-               CardType[cs->typ], cs->irq,
+       printk(KERN_INFO "HiSax: S0Box config irq:%d isac:0x%x  cfg:0x%x\n",
+               cs->irq,
                cs->hw.teles3.isac, cs->hw.teles3.cfg_reg);
-       printk(KERN_INFO
-               "HiSax: hscx A:0x%x  hscx B:0x%x\n",
+       printk(KERN_INFO "HiSax: hscx A:0x%x  hscx B:0x%x\n",
                cs->hw.teles3.hscx[0], cs->hw.teles3.hscx[1]);
        setup_isac(cs);
        cs->readisac = &ReadISAC;