Chrisian Richter
216a4b1edd
litle fix to make the leds work when the watchdog is enabled
2006-09-13 15:53:01 +00:00
Martin Bachem
89626fbade
configure end of pulse control for ST mode (TE & NT)
2006-09-11 11:44:02 +00:00
Chrisian Richter
a9c1ddd31c
added some minipci hfcmulti based cards
2006-09-08 10:39:54 +00:00
Chrisian Richter
5d275ef7d7
don't print the NEXT_SKB EXISTS error.. for testing
2006-09-07 13:02:34 +00:00
Chrisian Richter
8ab0c38df3
added the new B410P HFC-4S based card. This card has Echocancelation in hardware. Modified mISDN_dsp to check for hw_echocan facilities. added possibility to control the gain from lower layers. Thanks to Matthew Fredrickson for most of the patches.
2006-09-06 17:24:22 +00:00
Martin Bachem
c9d11dda5f
rx skb mem range check
2006-08-15 09:38:07 +00:00
Karsten Keil
3606a753cd
fix protocol parameter handling (bug 0000067)
2006-08-07 23:35:59 +00:00
Daniel Potts
7fa0d32c3e
Pointer next_skb test fix.
...
Take lock on initialization in an attempt to fix SMP race.
2006-08-07 11:53:02 +00:00
Karsten Keil
b2629bc4b7
fix for overflow in copy_pid
2006-08-04 17:08:31 +00:00
Karsten Keil
71aa0d3dc1
some addons from root@netsentry.superset.co.za
...
1)added a new card to hfc_multi seems to be junghans ...
2)added hotplug support for hfcsusb by exporting it to the modules list to
be picked up by hotplug works realy nicely
3)dont compile in devfs bits for new kernel (2.6.18 does not have any devfs)
2006-08-01 11:25:10 +00:00
Chrisian Richter
cb7fbf931b
added new Subdevice ID for new 2E1 beroNet card with watchdog for relais for the tranparent switched mode.
2006-07-31 12:55:31 +00:00
Chrisian Richter
6fa421dc88
T310 can be between 30-120 seconds. we use 120 seconds now.
2006-07-20 08:14:18 +00:00
Chrisian Richter
a217cc8071
reworked the echocancel_chunk function, it works now exactly as under zaptel and cancels the echo much better now.
2006-07-18 14:44:51 +00:00
Chrisian Richter
7c9d3427c2
removed unused variable
2006-07-14 15:53:53 +00:00
Chrisian Richter
50bfd90684
readded the class_create_file stuff, that didn't harm anything but created compiler warnings
2006-07-14 15:48:17 +00:00
Chrisian Richter
ab4597fde4
splitted the release_port function in a release_port and release_ports_hw functions, the ports_hw function disables all the hw related stuff and the release_port function removes lists and deregisters channels and stuff like that. Both functions are now only called in the unload module routine. On higher Kernelversions the release_port function is not called because it creates kernel oopses. ifdefed some sysfs_create_files.
2006-07-14 15:30:22 +00:00
Chrisian Richter
1c93a4f475
for kernels >2.6.10 we need to release the port in the RELEASE message, this is not everytime true, but it doesn't harm anything to do it.. only the leaving mSDNstackd processes. This really needs rework
2006-07-13 09:11:32 +00:00
Chrisian Richter
fed7fcf52d
remove printks
2006-07-13 07:22:27 +00:00
Chrisian Richter
86beb33815
default threshold of 100 is more accurate, also we unload the card modules after we've unloaded the layers
2006-07-12 15:57:24 +00:00
Chrisian Richter
25f37a1d92
made the dtmftreshold value changeable by modul parameter. This might help reducing wrong identified dtmftones.
2006-07-04 13:38:45 +00:00
Chrisian Richter
4d82d4de70
added the instance id for the l2mgr Log, so we can distinguish the Port which might be faulty
2006-07-03 12:44:37 +00:00
Chrisian Richter
f15296da42
added poll option for the hfcsusb driver, also we pass the poll option for this driver and for the dsp modul now from the misdn-init script. This fixes the no-sound issue with the hfcsub cards. Many Thanks for James Harper who gave us this patch. In the future we might add some sort of autoconfiguration of the packetsizes.
2006-07-03 11:48:02 +00:00
Chrisian Richter
3ead35f330
we can have much more the 4ports in the hfcmulti
2006-07-03 10:04:04 +00:00
Karsten Keil
5036dcc9bc
fix debug declaration
2006-06-29 10:40:23 +00:00
Karsten Keil
63a0047915
add some compatibility stuff
2006-06-29 09:11:29 +00:00
Karsten Keil
06b2b6d540
cleanup compatibility stuff
2006-06-29 09:11:08 +00:00
Karsten Keil
5d3fa852e7
fix warning about MODULE_PARM_T
2006-06-29 08:52:39 +00:00
Daniel Potts
5e56ba89ae
add revision string to NETJet verbose
2006-06-29 01:50:07 +00:00
Daniel Potts
419a1afba1
NETJet config option
2006-06-29 01:49:17 +00:00
Karsten Keil
98c9e63081
some compatibility code for kernel version < 2.6.8
2006-06-28 18:03:53 +00:00
Daniel Potts
e862e5aac1
Added driver for Traverse Tech. NETJet card
2006-06-28 14:06:03 +00:00
Karsten Keil
07a8ef6ac4
fix a double free/access after free problem.
...
Thanks to James Harper <james.harper@bendigoit.com.au> for tracking down.
2006-06-27 13:24:07 +00:00
Chrisian Richter
c2def45158
for now we release only all the ports when the module is unloaded. It doesn't make really a lot of sense to release single ports on the hfcmulti cards. The better way would be to relase the ports from the queue instead. But the queue knows only about single stacks .. I propose to add a MODULE_REGISTER and MODULE_RELEASE to the mqueue, this one cleans up all the necessary stuff and we only send a MODULE_RELEASE from within the module_unload function. For now this fix should work in most cases.
2006-06-27 09:55:17 +00:00
Chrisian Richter
b5f2e62aa8
we should also generate tones when we have no conference
2006-06-26 17:25:14 +00:00
Chrisian Richter
a7034bc3fc
when we do not ever want a CMX, we do not need the jitterbufferring, since the userspace handles this. So we check now if we really have a conf_id, else we just transceive the buffers, with the addition of gainctrl dtmf detection and echocancellation (this removes a lot of NEXT_FRAME exists)
2006-06-21 13:25:46 +00:00
Chrisian Richter
2a7a305767
fixed the leds for the BN2S cards
2006-06-19 07:45:53 +00:00
Chrisian Richter
ba1f784186
added a define for aggressive echo suppresssion
2006-06-09 08:41:26 +00:00
Chrisian Richter
958a2e6ae1
* added winsize 7 for E1
...
* added real_bc to the l3 process for correct CC_RESTART handling in E1
* reworked the MT_RESTART_ACKNOWLEDGE to support EXTCID
* Major of mISDNif.h is now 4 (comprehension req)
* Makefile checks now for the Major of mISDNif.h to report backwards
incompatibility
WE ARE NOW FULLY L2/L3 COMPLIANT FOR S2M AND S0 !!!
2006-06-01 11:02:10 +00:00
Chrisian Richter
74399516a9
made l3_udss1.c compile without the fill1 element again
2006-05-31 02:25:52 +00:00
Chrisian Richter
6f9233157a
fixed some ETSI violations regarding L2 and L3. We now are fully L2 and L3 compliant (with chan_misdn-0.3.1-rc8)
2006-05-29 16:46:10 +00:00
Chrisian Richter
8e7b38b15f
added Hanlding of MDL_ERROR|REQ from tei manager to pass L2 test for TE PTMP and PTPls
2006-05-29 09:25:36 +00:00
Chrisian Richter
318b7a7912
not sending something to the card when we're sure that we're bridged in hardware. This fixes a Kernel Oops which occurs together with the profiling option in the kernel somehow.
2006-05-28 14:13:52 +00:00
Chrisian Richter
fabc822d5f
#ifdefed the sysfs_create_* and sysfs_remove_* functions, we might add a CONFIG_MISDN_SYSFS to reenable it.
2006-05-23 12:06:48 +00:00
Chrisian Richter
08f6fd24ca
added a litle queue for conference ids in the dsp. It creates the conference when the hardware is ready for sure.. before it was more luck if we had a hardware or software conference. Also added modules.d support for gentoo
2006-05-23 08:10:59 +00:00
Chrisian Richter
37c4b05c1c
#if should better be #ifdef to avoid warning when not defined
2006-05-18 13:35:46 +00:00
Chrisian Richter
83db9f7a92
removed all sysfs_remove_* functions, since they still oops on different machines.. the class_unregister seems to remove the sysfs entries anyway
2006-05-18 13:33:28 +00:00
Chrisian Richter
f9a1f8a7c3
added a few debug options to the core to screen the sysfs related debug prints
2006-05-12 13:27:23 +00:00
Chrisian Richter
17c5b66c32
removed some useless #warnings to beautify compiling :), also removed the davor,danach fields since they where not used
2006-05-12 09:08:07 +00:00
Chrisian Richter
0e9fc6c22e
removed some unused variables and my bogus checkin from avm_fritz.c
2006-05-08 15:59:39 +00:00
Martin Bachem
a32900b2b3
channel.h calls misdn_log_frame, but data is piped to syslog... still have kernel crashes with netdev.c:misdn_chan_frame_xmit
2006-05-05 10:04:52 +00:00
Martin Bachem
14774a420f
same same
2006-05-05 08:22:11 +00:00
Martin Bachem
7b48be70e0
stack ids 0x100,0x200 ... will create mISDN00,mISDN01 etc. devices
2006-05-05 08:19:49 +00:00
Martin Bachem
f95a570dbd
useless printk
2006-05-04 17:31:44 +00:00
Martin Bachem
aba7cf20e8
bugfix: list_add; sprintf still needs review!
2006-05-04 16:56:56 +00:00
Chrisian Richter
78503c4a80
make it possible to enable netdev by setting the config variable in the main Makefile
2006-05-04 15:36:26 +00:00
Chrisian Richter
46c23e5ddc
netdev_main.h doesn't exist anymore
2006-05-04 15:15:54 +00:00
Chrisian Richter
790b0fb2e8
need the lapd_addr struct for the netdev stuff
2006-05-04 14:40:07 +00:00
Chrisian Richter
c684d5e96d
added GPIO Check for the NT/TE Jumper settings for the 4S based cards. If the protocol Configuration does not match the Jumper Settings we print out a warning now. Thanks to Martin Bachen who submitted this patch.
2006-05-04 14:03:03 +00:00
Chrisian Richter
534a86348f
added Linux Netdevice support to enable L1 hdlc frame debugging with ethereal, that's just a first shot and doesn't work proper yet. It needs to be compiled in with CONFIG_MISDN_NETDEV. also modified the misdn-init script to makes it possible to only load a specific driver (for better hotplug support)
2006-05-04 13:42:44 +00:00
Chrisian Richter
88b1be3d4c
make it possible to install mISDN as non root via INSTALL_PREFIX
2006-04-30 17:49:34 +00:00
Chrisian Richter
00a3255aa0
when ignoring the missing pcm frame clock we ignore in the init phase missing irqs as well
2006-04-26 16:50:22 +00:00
Chrisian Richter
99fa436487
added dual port E1 card from beronet
2006-04-21 09:53:55 +00:00
Martin Bachem
92e4c668ac
missing linebreak at printk
2006-04-16 11:52:38 +00:00
Martin Bachem
4e0f56832c
describe test loops enables by module param
2006-04-12 10:37:28 +00:00
Chrisian Richter
8e7e9cdf23
sysfs_remove_group does create a NULL Pointer reference since kernel 2.6.16 from inside of the class_unreg_device callbacks .. this works around it
2006-04-11 16:04:58 +00:00
Chrisian Richter
28beb2274c
completed the module_param patch, now we compile on kernel <2.6.10 again
2006-04-11 13:13:30 +00:00
Karsten Keil
d5189f2f1e
Handle USR cards properly
2006-04-09 14:18:28 +00:00
Chrisian Richter
9a3adc568d
workaround to fix unload Kernel Oops, it doesn't free the hc list so there will be some mem in use, but the kernel will not crash anymore which is far more important then this very small mem leak
2006-04-07 08:55:07 +00:00
Chrisian Richter
851bbdceec
added BN2S card with 4S Chip :). Also fixed that the correct Subvendor IDs and Subdevice IDs are used and displayed, if some cards don't work mail me: cr@beronet.com. Advanced the misdn-init script to support the new 2S Card
2006-04-05 14:42:23 +00:00
Martin Bachem
7cac3cdb06
minor fixes, dos2unix lbreaks
2006-03-30 07:52:12 +00:00
Martin Bachem
ad79ac6564
same same
2006-03-29 17:27:52 +00:00
Martin Bachem
46d8409e91
fixed bug: using same loop counter twice in internal loop
2006-03-29 17:24:12 +00:00
Karsten Keil
d2bd2a6133
did remove the wrong file :-(
2006-03-23 13:52:18 +00:00
Karsten Keil
d6dd9d2951
not needed
2006-03-23 13:16:58 +00:00
Karsten Keil
ae3886bda9
mISDN_ctrl is already defined in mISDNif.h no need for ctrl.h (Yes EXPORT_SYMBOL was missing)
2006-03-23 13:11:43 +00:00
Chrisian Richter
6c0f392d36
added ctrl.h for central managing the global mISDN_ctrl function
2006-03-23 12:31:17 +00:00
Karsten Keil
84beff43b5
make central control a global function
2006-03-23 10:05:16 +00:00
Karsten Keil
bec283bb85
fix typo
2006-03-22 23:29:59 +00:00
Karsten Keil
273ea59911
replace old MODULE_PARM stuff with module_param (Thanks to Stefan Schweizer)
2006-03-22 18:33:04 +00:00
Karsten Keil
3b80b6e75c
fix packed attribute warnings (Thanks to Stefan Schweizer)
2006-03-22 18:28:34 +00:00
Martin Bachem
104996ce94
.owner obsolete in kernel 2.6.16
2006-03-20 14:01:49 +00:00
Martin Bachem
6baa0d7b32
stop abusing dchannel pointer when line interface is meant
2006-03-17 07:43:41 +00:00
Martin Bachem
7375a33587
protect queueing ctrl urbs with spinlocks
2006-03-14 11:11:29 +00:00
Chrisian Richter
b7ce29e545
added hack, which frees the irq of the whole card, even if only 1 port is released, this fixes the bad bad rmmod hfcmulti oops, still there are the sysfs related oopses, which at least do not actually freeze the machine. with this patch the module unloads correctly
2006-03-09 16:28:59 +00:00
Martin Bachem
ce4dbd587e
- using excact chip name for syslog messages:
...
XHFC-4SU_PI0_0_0_D means this is an XHFC-4SU at processor interface 0,
chip no 0, line interface 0, D Channel
2006-03-08 14:07:14 +00:00
Chrisian Richter
885ab66510
changed GFP_KERNEL to GFP_ATOMIC for kmalloc to avoid sleep in a irq-lock (echo cancellor init code)
2006-03-08 12:06:10 +00:00
Martin Bachem
ebe6c8274c
- allocating required kernel mem depending on autodected XHFC derivate
2006-03-07 13:28:28 +00:00
Martin Bachem
2a8655f939
- supporting multiple XHFC controllers at one PCI2PI pci bridge
2006-03-06 16:20:33 +00:00
Karsten Keil
b267c6033f
- move branch mqueue to HEAD
2006-03-06 12:58:31 +00:00
Karsten Keil
56f18961c0
- make mqueue branch HEAD
2006-03-06 12:52:08 +00:00
Karsten Keil
44cf601712
PCI_DEVICE_ID_SITECOM_DC105 ---> PCI_DEVICE_ID_SITECOM_DC105V2
2005-11-19 14:01:41 +00:00
Martin Bachem
229883dd7d
- fixed unterminated device list
2005-11-15 10:10:34 +00:00
Karsten Keil
726e2a033e
pci_find_subsys do not longer exist
2005-10-26 19:35:09 +00:00
Karsten Keil
0d1253ce86
do not save flags in a register value
2005-10-26 14:13:19 +00:00
Karsten Keil
21466f9b7b
cleanup silence -> dsp_silence
2005-10-26 14:12:13 +00:00
Karsten Keil
786ab881f8
second fix for bug 7, component length was wrong
2005-06-26 11:35:40 +00:00
srichter
24f62a4c3c
Portability fixes:
...
- use cpu_to_leXX and leXX_to_cpu in order to access the PCI bus in little
endian mode on all architectures
- use pci_alloc_consistent instead of kmalloc to allocate buffer memory
2005-06-24 16:48:45 +00:00
Karsten Keil
65eaeb3579
Fix bug #0000007 Capidivert doesnt work with mISDN an Fritz! PCI
...
- DUMMY CR messages from up was not handled in l3_udss1
2005-06-24 15:33:13 +00:00
Martin Bachem
514a4ab48c
care for HW_POWERUP at l1 activation and force deactivation if activation fails (timer3)
2005-06-23 16:43:36 +00:00
Martin Bachem
ea21d7f00e
added hardware disclaimer to ensure users only HFC-S USB TAs are supported
2005-06-22 08:13:48 +00:00