Commit Graph

239 Commits

Author SHA1 Message Date
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
Andreas Eversberg 5f5bbde7aa Fixed a bug in reporting SLIP / LOS / AIS due to bugreport by Rus.
WARNING: Never tested it!

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-06-05 14:19:52 +00:00
Martin Bachem c2faf5fcc0 ingore INFO3_P8, INFO3_P10, HW_POWERUP 2005-05-04 15:38:31 +00:00
Karsten Keil 00c2a28955 Fix X25 RESET_B3 DISCONNECT_B3 2005-05-02 12:30:30 +00:00
Karsten Keil 7b940e57d4 Fix race condition in DATA_B3 CONF handling 2005-05-02 12:29:22 +00:00
Andreas Eversberg 5892e8575e According to Q.932, notify messages are allowed at any state of call.
(Information about "call will be forwarded now" can be received before connect.)
2005-04-30 15:27:05 +00:00
Martin Bachem 53ad00795a support for Sitecom DC-105 2005-04-08 13:39:58 +00:00
Karsten Keil 2929c9e213 Errorcodes are more readable in decimal (Thanks to Matthias Urlich) 2005-04-07 08:59:41 +00:00
Karsten Keil 8101522abc debug wrong conf frames 2005-04-07 08:57:50 +00:00
Martin Bachem 4e09c93764 prevent memory leak 2005-04-06 12:10:46 +00:00
Martin Bachem b49b5d512b support for Cologne Chip HFC-S USB based ISDN TAs 2005-04-04 14:17:15 +00:00
Martin Bachem ad5d7ae143 support for Cologne Chip HFC-S USB based ISDN TAs 2005-04-04 14:01:00 +00:00
Karsten Keil eb05f41960 cleanup, add some comments 2005-03-09 03:09:06 +00:00
Karsten Keil 5e7f03944c fix for changes in driver_register for 2.6.10 and higher versions 2005-03-09 03:04:07 +00:00
Andreas Eversberg 2476232664 Fixed state change at CC_NOTIFY and CC_PROGRESS.
Added CC_NOTIFY | REQUEST and tested it.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
2005-03-03 19:03:03 +00:00
Karsten Keil dc7d9402b8 since the stack build is handled via the mISDNd, the CTRL_READY must be
syncronized with it, so handle it also via mISDNd
2005-02-24 12:48:08 +00:00
Andreas Eversberg 8035c5e67b Now it compiles :)
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2005-01-31 17:24:03 +00:00
Andreas Eversberg c102bdedde HFC-E1 supports now selection of receive clock or much more accurate PLL clock for PCM bus clock.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-30 21:23:25 +00:00
Andreas Eversberg beb0f4faea DSP: removed bug that caused to allocate two timeslots for inter-chip communication rather than one. (now it is possible to make 32 calls on a 32 time slot PCM bus and not only 16)
HFC-E1: wrong write to register caused clock sync to to work correcly. the result was biterrors due to slips in frames. (bad to faxes and modem connects). also uncontrolled reset of the jitter buffers caused corrupt frames and slips (losses).

also: new flag to load E1 cards even if PCM clock is available (yet). it can be used to load a PCM slave before the PCM master is loaded.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-29 16:23:24 +00:00
Andreas Eversberg 17f2f8610b Finally PH_ACTIVATE/PH_DEACTIVATE is improved for HFC_E1 (PRI) and LEDS
are supported. RED shows LOS/AIS, GREEN shows ACTIVE state an FIFO activity.
Switches can be used to send LOS and AIS.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2005-01-27 23:42:30 +00:00
Karsten Keil d2726ff9e2 Handle RESTART collition properly;Thanks to Bodo Pfelzer <Bodo.Pfelzer@web.de> 2005-01-18 16:01:33 +00:00
Andreas Eversberg 62079d9a77 Fixed bug in detecting PCI devices, if multiple cards of different type
are installed.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-12-20 05:24:34 +00:00
Andreas Eversberg fdf3a2952b Finally the fix for the 'Raising Delay' bug. This fix will also available
in the mISDN_for_pbx4linux-fix4 file on isdn.jolly.de.
Losing IRQs cause a raising delay during lifetime of a conference or
crossconnection. You need only to replace the given file. Don't reinstall
the complete mISDN package:
- copy the dsp_cmx.c to the kernel source
- touch dsp_cmx.c (if older than your dsp_cmx.o)
- make modules (you see that dsp_cmx.c will be compiled)
- make modules_install
- stop pbx
- reload mISDN
- start pbx

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
2004-12-19 16:17:36 +00:00
Andreas Eversberg 8beec5109d Flushing FIFO after activation of layer 1, to remove corrput data
during activation sequence.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-12-03 12:00:31 +00:00
Andreas Eversberg 9e0fc751ff Fixes:
- udevice works with kernel 2.6.8 and hopefully > 2.6.8
  (required for PBX4Linux & Asterisk channel driver)
- hfc_multi driver (HFC-4S/8S/E1) now works with kernel >= 2.6.8
- hfc_multi crash bug fix while unloading
- hfc_multi now uses correct leds display on HFC-4S boards
  (red blinking or off = layer 1 inactive
   red = layer 1 active
   green / green flashing = traffic on interface)

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
	mISDN/drivers/isdn/hardware/mISDN/udevice.c
2004-11-19 18:47:40 +00:00
Andreas Eversberg 84921213dc minor fixes from Simon
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-11-08 08:08:12 +00:00
Andreas Eversberg 3891628b0b Now HFC multiport driver (HFC-4s/8s/e1) uses IO PCI access. With a kernel
option it still can be set to memory PCI access.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2004-09-23 20:17:08 +00:00
Andreas Eversberg cf68d7e299 1. Finally hardware echo (channel looping) works. It is usefull to messure
delay and count biterrors.

2. New vendor IDs are added to the hfc_multi driver (Beronet Cards).

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-08-28 12:35:26 +00:00
Andreas Eversberg 6a9dfe9e94 Bugfix of unregistering, that cause the crash when unloading the module.
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-08-01 14:55:41 +00:00
Karsten Keil 3d9f29d093 use mISDN_head_t also for user mode 2004-07-08 00:49:49 +00:00
Karsten Keil b7b532ca9d locking the dbg lists 2004-07-07 20:41:50 +00:00
Andreas Eversberg 13a54f711d Cleanup of dsp_tones.c.
Fixes and minor changes of hfc 4s/8s/e1 driver.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp_tones.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h
2004-07-04 10:31:09 +00:00
Karsten Keil 62c911e0cd remove /dev/mISDN ringbuffers; use queues instead 2004-06-30 15:13:20 +00:00
Karsten Keil 918caa4018 use the common kernel list.h implementation for the lists in mISDN 2004-06-17 12:31:14 +00:00
Andreas Eversberg 818a365de2 Modified Files:
mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
Removed bug that caused crashed when receiving facility frame with
dummy call ref. These messages are only generated by some switches
(not EWSD).
2004-05-31 14:02:51 +00:00
Karsten Keil 1a7843297d add some CONFIG_PNP conditionals, so the driver also load on none ISAPNP
configs (Thanks to Ingo Krabbe/Joerg Dorchain for discover this)
2004-05-28 23:00:20 +00:00
Andreas Eversberg ebbb33b3de Fixed problem of hfc-4s/8s/e1 driver in conjunction with capi. Added delay
of 100ms until sending MGR_CTRLREADY from driver.
KKeil: Please review it and tell me why it is required to wait.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
2004-04-05 19:39:21 +00:00
Andreas Eversberg cc28674787 Now it compiles without error...
Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/layer3.c
2004-03-28 17:52:36 +00:00
Andreas Eversberg ea898aa233 Now audio hardware support with automatic driver feature detection is
testet and works stable.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/dsp.h
	mISDN/drivers/isdn/hardware/mISDN/dsp_audio.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_blowfish.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_cmx.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_core.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_dtmf.c
	mISDN/drivers/isdn/hardware/mISDN/dsp_tones.c
	mISDN/drivers/isdn/hardware/mISDN/Kconfig.v2.6
	mISDN/include/linux/mISDNif.h

E1 (PRI) interface now works stable including own layer 1 support.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.c
	mISDN/drivers/isdn/hardware/mISDN/hfc_multi.h

Layer 3 now handles PRI interfaces correctly.
 - each layer-3 instance with local callref counter
 - correct restart procedure (stays in state 0)
 - new feature flag for long callref (ISDN_PID_L3_CRLEN2)
 - MINOR FIX: when parsing the information elements, the second element
   found doesn't overwrite the first element anymore.

Modified Files:
	mISDN/drivers/isdn/hardware/mISDN/l3_udss1.c
	mISDN/drivers/isdn/hardware/mISDN/layer3.c
	mISDN/drivers/isdn/hardware/mISDN/layer3.h
	mISDN/include/linux/mISDNif.h
2004-03-28 17:13:08 +00:00
Andreas Eversberg 342ebbf58f Added missing file "dsp_blowfish.c"
Added Files:
	dsp_blowfish.c
2004-02-16 23:10:26 +00:00