HiSax/Kernel patch for ISDN card SITECOM PCI DC-105V2
Hello,
I have had some difficulties to get my ISDN card running (SITECOM PCI
DC-105V2). Rasca <rasca@gmx.de>, give me a useful solution :
http://mpx.freeshell.net/sitecom_dc105v2.html :
************************************************************************************************
Step by Step
The files you have to modify (from inside /usr/src):
include/linux/pci_ids.h
drivers/isdn/hisax/config.c
drivers/isdn/hisax/hfc_pci.c
In pci_ids.h add the following two lines behind the line "/* Vendors and
devices ..":
#define PCI_VENDOR_ID_SITECOM 0x182d
#define PCI_DEVICE_ID_DC105V2 0x3069
In config.c after the second appearance of the line "#ifdef
CONFIG_HISAX_HFC_PCI" add the line (you should see some kind of list
here):
{PCI_VENDOR_ID_SITECOM, PCI_DEVICE_ID_DC105V2, PCI_ANY_ID, PCI_ANY_ID},
In hfc_pci.c at the end of the id_list[] you have to add the following
line:
{PCI_VENDOR_ID_SITECOM, PCI_DEVICE_ID_DC105V2, "Sitecom Europe B.V.", "DC-105 V2"},
And, of course ensure that in ".config" CONFIG_HISAX_HFC_PCI is
defined..
Recompile the kernel modules and install them. That's it. Now your
sitecom card should be recognized.
************************************************************************************************
I have try with a kernel image using "kernel-source-2.4.27 (2.4.27-8)",
and it works.
Rasca told me that he has informed the HiSax team, but It would be great
to already have this patch in sarge (kernel-source / kernel-image).
Kind Regards
Philippe Oerthel
Some infos :
Linux version 2.4.27 (root@scratchy) (version gcc 3.3.4 (Debian
1:3.3.4-13)) #1 sam fév 26 22:57:40 CET 2005
0000:00:11.0 Network controller: SiteCom Europe BV ISDN PCI DC-105V2
(rev 02)
Subsystem: SiteCom Europe BV ISDN PCI DC-105V2
Flags: bus master, medium devsel, latency 16, IRQ 10
I/O ports at fff0 [disabled] [size=8]
Memory at fff7f800 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 1
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (module)
HiSax: Layer1 Revision 1.1.4.1
HiSax: Layer2 Revision 1.1.4.1
HiSax: TeiMgr Revision 1.1.4.1
HiSax: Layer3 Revision 1.1.4.1
HiSax: LinkLayer Revision 1.1.4.1
HiSax: Approval certification failed because of
HiSax: unauthorized source code changes
HiSax: Total 1 card defined
HiSax: Card 1 Protocol EDSS1 Id=line0 (0)
HiSax: HFC-PCI driver Rev. 1.1.4.1
HiSax: HFC-PCI card manufacturer: Sitecom Europe B.V. card name: DC-105
V2
HiSax: DSS1 Rev. 1.1.4.1
HiSax: 2 channels added
HiSax: MAX_WAITING_CALLS added
HiSax: debugging flags card 1 set to 4
HiSax: debugging flags card 1 set to 4
HiSax: debugging flags card 1 set to 4
HiSax: debugging flags card 1 set to 4
HiSax: debugging flags card 1 set to 4
Reply to: