patch-1.3.70 linux/drivers/isdn/teles/card.c

Next file: linux/drivers/net/3c501.c
Previous file: linux/drivers/char/wdt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/drivers/isdn/teles/card.c linux/drivers/isdn/teles/card.c
@@ -1050,6 +1050,15 @@
                                readhscx_0(card->membase, 1, HSCX_VSTR) & 0xf);
                 }
         } else {
+                switch (card->iobase) {
+                        case 0x180:
+                        case 0x280:
+                        case 0x380:
+                                printk(KERN_INFO "teles: port 0x%x specified, assuming 0x%x\n",
+                                       card->iobase, (card->iobase | 0xc00));
+                                card->iobase |= 0xc00;
+                                break;
+                }
                 if (check_region(card->iobase, 8)) {
                         printk(KERN_WARNING
                                "teles: ports %x-%x already in use\n",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this