]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - isdn4k-utils/patches/008-isdn4k-utils-capiinit.patch
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/ms/ipfire-3.x.git] / isdn4k-utils / patches / 008-isdn4k-utils-capiinit.patch
CommitLineData
bd1c5dc2
MT
1--- isdn4k-utils.orig/capiinit/capiinit.c 2006-04-18 19:27:03.689945766 +0200
2+++ isdn4k-utils/capiinit/capiinit.c 2006-04-18 19:36:53.130636890 +0200
3@@ -1251,6 +1251,7 @@
4 if (check_procfs() < 0) return -1;
5 if (check_for_kernelcapi() < 0) return -1;
6 if (check_for_capi() < 0) return -1;
7+ sleep(5); /* wait until the device node is created successfully by udev */
8 if (check_for_devcapi() < 0) return -1;
9 if (check_for_capifs() < 0) return 0; /* only warning */
10 if (check_for_capifs_mounted() < 0) return -1;
11--- isdn4k-utils.orig/capiinit/capi.conf 2006-04-18 19:37:43.515250539 +0200
12+++ isdn4k-utils/capiinit/capi.conf 2006-04-18 19:37:53.953559630 +0200
13@@ -1,10 +1,10 @@
14 # card file proto io irq mem cardnr options
15 #b1isa b1.t4 DSS1 0x150 7 - - P2P
16-b1pci b1.t4 DSS1 - - - -
17-c4 c4.bin DSS1 - - - -
18-c4 - DSS1 - - - -
19-c4 - DSS1 - - - - P2P
20-c4 - DSS1 - - - - P2P
21+#b1pci b1.t4 DSS1 - - - -
22+#c4 c4.bin DSS1 - - - -
23+#c4 - DSS1 - - - -
24+#c4 - DSS1 - - - - P2P
25+#c4 - DSS1 - - - - P2P
26 #c2 c2.bin DSS1 - - - -
27 #c2 - DSS1 - - - -
28 #t1isa t1.t4 DSS1 0x340 9 - 0
29--- isdn4k-utils-CVS-2003-09-23/capiinit/capiinit.c.capi 2006-04-18 20:53:22.437430551 +0200
30+++ isdn4k-utils-CVS-2003-09-23/capiinit/capiinit.c 2006-04-19 11:50:56.385891286 +0200
31@@ -1495,8 +1496,8 @@
32 unload_module("capiutil");
33 if ((mp = mounted("capifs")) != 0 && strcmp(mp, "/dev/capi") == 0)
34 system("umount /dev/capi");
35- if (filesystem_available("capifs"))
36- unload_filesystem("capifs");
37+ /*if (filesystem_available("capifs"))
38+ unload_filesystem("capifs"); */
39 }
40 if (cardname && cname[0] == 0) {
41 fprintf(stderr,"ERROR: card \"%s\" not found\n", cardname);