diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-28 04:30:20 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-28 04:30:20 -0400 |
commit | 661299d9d0437a0ff72240f3d60016ac3a361a6e (patch) | |
tree | 765512576314fc3612b503f182b9ae4e60fcf849 /drivers/isdn | |
parent | 05caac585f8abd6c0113856bc8858e3ef214d8a6 (diff) | |
parent | 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af (diff) |
Merge with Linus' 2.6 tree
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/avm_a1.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/config.c | 1 | ||||
-rw-r--r-- | drivers/isdn/hisax/gazel.c | 9 | ||||
-rw-r--r-- | drivers/isdn/hisax/isdnl2.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/l3dss1.c | 8 | ||||
-rw-r--r-- | drivers/isdn/hisax/teles3.c | 2 |
6 files changed, 15 insertions, 9 deletions
diff --git a/drivers/isdn/hisax/avm_a1.c b/drivers/isdn/hisax/avm_a1.c index 8f028d42fd2f..9a8b02557ff9 100644 --- a/drivers/isdn/hisax/avm_a1.c +++ b/drivers/isdn/hisax/avm_a1.c | |||
@@ -135,7 +135,7 @@ avm_a1_interrupt(int intno, void *dev_id, struct pt_regs *regs) | |||
135 | return IRQ_HANDLED; | 135 | return IRQ_HANDLED; |
136 | } | 136 | } |
137 | 137 | ||
138 | inline static void | 138 | static inline void |
139 | release_ioregs(struct IsdnCardState *cs, int mask) | 139 | release_ioregs(struct IsdnCardState *cs, int mask) |
140 | { | 140 | { |
141 | release_region(cs->hw.avm.cfg_reg, 8); | 141 | release_region(cs->hw.avm.cfg_reg, 8); |
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index c542e6fb2bde..fbaab4352902 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c | |||
@@ -1900,6 +1900,7 @@ static struct pci_device_id hisax_pci_tbl[] __initdata = { | |||
1900 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R685, PCI_ANY_ID, PCI_ANY_ID}, | 1900 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R685, PCI_ANY_ID, PCI_ANY_ID}, |
1901 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R753, PCI_ANY_ID, PCI_ANY_ID}, | 1901 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_R753, PCI_ANY_ID, PCI_ANY_ID}, |
1902 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_DJINN_ITOO, PCI_ANY_ID, PCI_ANY_ID}, | 1902 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_DJINN_ITOO, PCI_ANY_ID, PCI_ANY_ID}, |
1903 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_OLITEC, PCI_ANY_ID, PCI_ANY_ID}, | ||
1903 | #endif | 1904 | #endif |
1904 | #ifdef CONFIG_HISAX_QUADRO | 1905 | #ifdef CONFIG_HISAX_QUADRO |
1905 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_ANY_ID, PCI_ANY_ID}, | 1906 | {PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050, PCI_ANY_ID, PCI_ANY_ID}, |
diff --git a/drivers/isdn/hisax/gazel.c b/drivers/isdn/hisax/gazel.c index 352b45ac5347..60b04c6d9e7d 100644 --- a/drivers/isdn/hisax/gazel.c +++ b/drivers/isdn/hisax/gazel.c | |||
@@ -546,8 +546,9 @@ setup_gazelpci(struct IsdnCardState *cs) | |||
546 | 546 | ||
547 | found = 0; | 547 | found = 0; |
548 | seekcard = PCI_DEVICE_ID_PLX_R685; | 548 | seekcard = PCI_DEVICE_ID_PLX_R685; |
549 | for (nbseek = 0; nbseek < 3; nbseek++) { | 549 | for (nbseek = 0; nbseek < 4; nbseek++) { |
550 | if ((dev_tel = pci_find_device(PCI_VENDOR_ID_PLX, seekcard, dev_tel))) { | 550 | if ((dev_tel = pci_find_device(PCI_VENDOR_ID_PLX, |
551 | seekcard, dev_tel))) { | ||
551 | if (pci_enable_device(dev_tel)) | 552 | if (pci_enable_device(dev_tel)) |
552 | return 1; | 553 | return 1; |
553 | pci_irq = dev_tel->irq; | 554 | pci_irq = dev_tel->irq; |
@@ -565,6 +566,9 @@ setup_gazelpci(struct IsdnCardState *cs) | |||
565 | case PCI_DEVICE_ID_PLX_R753: | 566 | case PCI_DEVICE_ID_PLX_R753: |
566 | seekcard = PCI_DEVICE_ID_PLX_DJINN_ITOO; | 567 | seekcard = PCI_DEVICE_ID_PLX_DJINN_ITOO; |
567 | break; | 568 | break; |
569 | case PCI_DEVICE_ID_PLX_DJINN_ITOO: | ||
570 | seekcard = PCI_DEVICE_ID_PLX_OLITEC; | ||
571 | break; | ||
568 | } | 572 | } |
569 | } | 573 | } |
570 | } | 574 | } |
@@ -605,6 +609,7 @@ setup_gazelpci(struct IsdnCardState *cs) | |||
605 | break; | 609 | break; |
606 | case PCI_DEVICE_ID_PLX_R753: | 610 | case PCI_DEVICE_ID_PLX_R753: |
607 | case PCI_DEVICE_ID_PLX_DJINN_ITOO: | 611 | case PCI_DEVICE_ID_PLX_DJINN_ITOO: |
612 | case PCI_DEVICE_ID_PLX_OLITEC: | ||
608 | printk(KERN_INFO "Gazel: Card PCI R753 found\n"); | 613 | printk(KERN_INFO "Gazel: Card PCI R753 found\n"); |
609 | cs->subtyp = R753; | 614 | cs->subtyp = R753; |
610 | test_and_set_bit(HW_IPAC, &cs->HW_Flags); | 615 | test_and_set_bit(HW_IPAC, &cs->HW_Flags); |
diff --git a/drivers/isdn/hisax/isdnl2.c b/drivers/isdn/hisax/isdnl2.c index 1615c1a76ab8..6d0431725555 100644 --- a/drivers/isdn/hisax/isdnl2.c +++ b/drivers/isdn/hisax/isdnl2.c | |||
@@ -213,7 +213,7 @@ sethdraddr(struct Layer2 *l2, u_char * header, int rsp) | |||
213 | } | 213 | } |
214 | } | 214 | } |
215 | 215 | ||
216 | inline static void | 216 | static inline void |
217 | enqueue_super(struct PStack *st, | 217 | enqueue_super(struct PStack *st, |
218 | struct sk_buff *skb) | 218 | struct sk_buff *skb) |
219 | { | 219 | { |
diff --git a/drivers/isdn/hisax/l3dss1.c b/drivers/isdn/hisax/l3dss1.c index a6d2abdb478a..e96845cdd4f6 100644 --- a/drivers/isdn/hisax/l3dss1.c +++ b/drivers/isdn/hisax/l3dss1.c | |||
@@ -353,7 +353,7 @@ l3dss1_parse_facility(struct PStack *st, struct l3_process *pc, | |||
353 | { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); | 353 | { l3dss1_dummy_invoke(st, cr, id, ident, p, nlen); |
354 | return; | 354 | return; |
355 | } | 355 | } |
356 | #if HISAX_DE_AOC | 356 | #ifdef HISAX_DE_AOC |
357 | { | 357 | { |
358 | 358 | ||
359 | #define FOO1(s,a,b) \ | 359 | #define FOO1(s,a,b) \ |
@@ -977,7 +977,7 @@ l3dss1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) | |||
977 | dss1_release_l3_process(pc); | 977 | dss1_release_l3_process(pc); |
978 | } | 978 | } |
979 | 979 | ||
980 | #if EXT_BEARER_CAPS | 980 | #ifdef EXT_BEARER_CAPS |
981 | 981 | ||
982 | static u_char * | 982 | static u_char * |
983 | EncodeASyncParams(u_char * p, u_char si2) | 983 | EncodeASyncParams(u_char * p, u_char si2) |
@@ -1369,7 +1369,7 @@ l3dss1_setup_req(struct l3_process *pc, u_char pr, | |||
1369 | *p++ = *sub++ & 0x7f; | 1369 | *p++ = *sub++ & 0x7f; |
1370 | } | 1370 | } |
1371 | } | 1371 | } |
1372 | #if EXT_BEARER_CAPS | 1372 | #ifdef EXT_BEARER_CAPS |
1373 | if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110/X.30 | 1373 | if ((pc->para.setup.si2 >= 160) && (pc->para.setup.si2 <= 175)) { // sync. Bitratenadaption, V.110/X.30 |
1374 | 1374 | ||
1375 | *p++ = IE_LLC; | 1375 | *p++ = IE_LLC; |
@@ -1609,7 +1609,7 @@ l3dss1_setup(struct l3_process *pc, u_char pr, void *arg) | |||
1609 | case 0x08: /* Unrestricted digital information */ | 1609 | case 0x08: /* Unrestricted digital information */ |
1610 | pc->para.setup.si1 = 7; | 1610 | pc->para.setup.si1 = 7; |
1611 | /* JIM, 05.11.97 I wanna set service indicator 2 */ | 1611 | /* JIM, 05.11.97 I wanna set service indicator 2 */ |
1612 | #if EXT_BEARER_CAPS | 1612 | #ifdef EXT_BEARER_CAPS |
1613 | pc->para.setup.si2 = DecodeSI2(skb); | 1613 | pc->para.setup.si2 = DecodeSI2(skb); |
1614 | #endif | 1614 | #endif |
1615 | break; | 1615 | break; |
diff --git a/drivers/isdn/hisax/teles3.c b/drivers/isdn/hisax/teles3.c index adeaad62d35c..a3eaf4d65707 100644 --- a/drivers/isdn/hisax/teles3.c +++ b/drivers/isdn/hisax/teles3.c | |||
@@ -143,7 +143,7 @@ teles3_interrupt(int intno, void *dev_id, struct pt_regs *regs) | |||
143 | return IRQ_HANDLED; | 143 | return IRQ_HANDLED; |
144 | } | 144 | } |
145 | 145 | ||
146 | inline static void | 146 | static inline void |
147 | release_ioregs(struct IsdnCardState *cs, int mask) | 147 | release_ioregs(struct IsdnCardState *cs, int mask) |
148 | { | 148 | { |
149 | if (mask & 1) | 149 | if (mask & 1) |