[Asterisk-Users] ZAPTEL not loading on FC2
Tony Hoyle
tmh at nodomain.org
Tue May 25 07:23:09 MST 2004
Fran Boon wrote:
> Jorge Verastegui wrote:
>
>> I have successfully compiled the last cvs zaptel drives in FC2 box and
>> then load wcfxs module, but Kernel Freezes with zttool
>
>
> http://bugs.digium.com/bug_view_page.php?bug_id=0001704
>
This is because of a bug in the driver - the PCI lookup table isn't
terminated so the kernel runs off into nowhere-land...
Try this patch:
retrieving revision 1.61
diff -u -r1.61 wcfxs.c
--- wcfxs.c 19 May 2004 01:45:04 -0000 1.61
+++ wcfxs.c 24 May 2004 20:41:21 -0000
@@ -1889,8 +1889,11 @@
{ 0xe159, 0x0001, 0xa159, PCI_ANY_ID, 0, 0, (unsigned long)
&wcfxs },
{ 0xe159, 0x0001, 0xe159, PCI_ANY_ID, 0, 0, (unsigned long)
&wcfxs },
{ 0xe159, 0x0001, 0xb100, PCI_ANY_ID, 0, 0, (unsigned long)
&wcfxse },
+ { 0 }
};
+MODULE_DEVICE_TABLE(pci, wcfxs_pci_tbl);
+
static struct pci_driver wcfxs_driver = {
name: "wcfxs",
probe: wcfxs_init_one,
--
All your code belongs to Santa
Tony Hoyle <tmh at nodomain.org> Key ID: 104D/4F4B6917 2003-09-13
Fingerprint: 063C AFB4 3026 F724 0AA2 02B8 E547 470E 4F4B 6917
Phone(FWD): (0845 004 5566) 413300
More information about the asterisk-users
mailing list