2010-03-15 20:24 +0000 [r8337-8341] Max Khon * README.freebsd (removed), README: Merge README.freebsd to main README -- main README is published by release engineering scripts. * drivers/dahdi/wctdm24xxp/base.c: Set ring detector mode properly. Submitted by: Bob Eager * drivers/dahdi/wctdm24xxp/xhfc.c, drivers/dahdi/wctdm24xxp/base.c, include/dahdi/compat/bsd.h: - Workqueue KPI: - remove flush_scheduled_work() and flush_workqueue() -- can not be implemented in terms of FreeBSD KPI easily - implement flush_work() that can be used as a replacement for flush_scheduled_work() - "hide" work_run() - use PI_REALTIME priority - Tasklet KPI: use PI_REALTIME priority * freebsd/dahdi/bsd-compat.c: - Workqueue KPI: - remove flush_scheduled_work() and flush_workqueue() -- can not be implemented in terms of FreeBSD KPI easily - implement flush_work() that can be used as a replacement for flush_scheduled_work() - "hide" work_run() - use PI_REALTIME priority - Tasklet KPI: use PI_REALTIME priority * drivers/dahdi/voicebus/voicebus.c: - Implement CONFIG_VOICEBUS_NODEFER (do buffer processing in filter) and CONFIG_VOICEBUS_ITHREAD (do buffer processing in ithread) - Use CONFIG_VOICEBUS_ITHREAD by default - vb_tasklet(): use busdma_map_sync more accurately 2010-03-13 11:36 +0000 [r8334-8336] Max Khon * drivers/dahdi/wctdm24xxp/base.c: - Define default value for opermode properly - Add missing dependency on dahdi_voicebus * drivers/dahdi/voicebus/voicebus.c: - voicebus_map(): map only vbb->data, not the whole vbb - voicebus_release(): destroy spinlock in the very end: this fixes lockup on driver unload - add DPRINTF() macro * include/dahdi/compat/bsd.h: Define time_before() in terms of time_after(). 2010-03-10 16:58 +0000 [r8273-8326] Max Khon * drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcb4xxp/base.c: - Use dahdi_pci_device_id_lookup() - Enable tunables * freebsd/Makefile: Connect dahdi_voicebus and wctdm24xxp to the build. * drivers/dahdi/wctdm24xxp/xhfc.c, drivers/dahdi/wctdm24xxp/wctdm24xxp.h, drivers/dahdi/wctdm24xxp/base.c: Initial version of wctdm24xpp driver. * freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h, freebsd/dahdi/Makefile: Implement dahdi_pci_device_id_lookup(). * freebsd/dahdi/bsd-compat.c: Always use taskqueue_enqueue() instead of taskqueue_enqueue_fast(). * drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/voicebus/voicebus.h: voicebus_alloc(), voicebus_free(), voicebus_map() and voicebus_unmap() functions no longer require "struct voicebus *" argument. * drivers/dahdi/wct4xxp/base.c, drivers/dahdi/dahdi-base.c, freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h, include/dahdi/kernel.h: - Waitqueue API: - wake_up_interruptible should wake up only one waiter - add wake_up(), wake_up_interruptible_all() and wait_event_timeout() - Semaphore API: - add down() and down_trylock() - add init_MUTEX() and destroy_MUTEX() - Workqueue API: add flush_scheduled_work() and flush_workqueue() - Module API: add module_param() - Add firmware API - Add fcstab - Add dahdi_schluffen * drivers/dahdi/voicebus/voicebus.c: Call bus_dmamap_sync() where required. * drivers/dahdi/wct4xxp/base.c: Protect bus_dmamap_sync invocations with #ifdef __FreeBSD__ * freebsd/wctdm24xxp/Makefile, freebsd/dahdi_voicebus/Makefile: - Add necessary CFLAGS (include path) - Re-order variable assignments * drivers/dahdi/adt_lec.c, drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/voicebus/GpakCust.c, drivers/dahdi/voicebus/voicebus.h, drivers/dahdi/voicebus/voicebus_net.c, drivers/dahdi/voicebus/GpakCust.h: Initial voicebus FreeBSD port. * drivers/dahdi/wct4xxp/base.c: Remove extra space. * freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h, include/dahdi/kernel.h: - Workqueue API - down_interruptible should return int - Tasklet API: - implement tasklet_disable() properly - add tasklet_enable() - Add cpu_to_le16() * drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcb4xxp/base.c: - Do not call bus_deactivate_resource - Destroy spinlocks * freebsd/wctdm/Makefile (added), freebsd/wctdm (added), freebsd/wctdm24xxp/Makefile (added), freebsd/wctdm24xxp (added), freebsd/dahdi_voicebus/Makefile (added), freebsd/dahdi_voicebus (added): Makefile glue for wctdm, wctdm24xxp, dahdi_voicebus (WIP). * include/dahdi/compat/types.h, freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h: More Linux compat schemes: - More uXX fixed width integer types - cpu_to_le32/le32_to_cpu() - struct completion - struct semaphore - time_before() * build_tools/make_static_devs (added), drivers/dahdi/wctdm24xxp/Kbuild, drivers/dahdi/voicebus/vpmadtreg.h, freebsd/Makefile, freebsd/dahdi/bsd-compat.c, drivers/dahdi/wcb4xxp/Makefile, drivers/dahdi/wct4xxp/base.c, drivers/dahdi/voicebus/GpakCust.c, include/dahdi/fasthdlc.h, drivers/dahdi/voicebus/voicebus_net.c (added), drivers/dahdi/voicebus/GpakCust.h, Makefile, drivers/dahdi/wct4xxp/wct4xxp.h, drivers/dahdi/firmware/Makefile, include/dahdi/dahdi_config.h, drivers/dahdi/voicebus/voicebus_net.h (added), drivers/dahdi/wctdm24xxp/xhfc.c (added), drivers/dahdi/wctdm24xxp/wctdm24xxp.h, drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/dahdi_dynamic_eth.c, drivers/dahdi/wctdm24xxp/xhfc.h (added), drivers/dahdi/dahdi-base.c, README, drivers/dahdi/tor2.c, drivers/dahdi/wcte12xp/base.c, /, include/dahdi/user.h, drivers/dahdi/Kbuild, include/dahdi/kernel.h, drivers/dahdi/xpp/card_fxo.c, drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm24xxp/base.c, drivers/dahdi/wcte12xp/wcte12xp.h, drivers/dahdi/Kconfig, drivers/dahdi/xpp/xpp_debug (added), drivers/dahdi/wcb4xxp/wcb4xxp.h, drivers/dahdi/voicebus/voicebus.h, include/dahdi/compat/bsd.h, drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c, drivers/dahdi/voicebus/Kbuild, drivers/dahdi/wcb4xxp/base.c: - Merge up to rev. 8272 from linux trunk: - Compat API for - printk_ratelimit() - msleep() - struct pci_device 2010-03-03 13:11 +0000 [r8242-8244] Max Khon * drivers/dahdi/wct4xxp/base.c: Remove more overdebug. * drivers/dahdi/wct4xxp/base.c: Remove debug. Reported by: Eric Crist 2010-01-16 11:29 +0000 [r7918] Max Khon * drivers/dahdi/wctdm.c: Use wrappers for inb/inl/outb. 2010-01-13 19:10 +0000 [r7913-7914] Max Khon * README.freebsd: This file is supposed to be processed by asciidoc. Pointed out by: tzafrir * README.freebsd: Add CREDITS. 2010-01-11 19:29 +0000 [r7798-7873] Max Khon * drivers/dahdi/voicebus/vpmadtreg.h, drivers/dahdi/wctdm24xxp/wctdm24xxp.h, drivers/dahdi/dahdi-base.c, drivers/dahdi/xpp/xpp.rules, drivers/dahdi/wcte12xp/base.c, /, drivers/dahdi/wcb4xxp/Makefile, drivers/dahdi/xpp/firmwares/USB_FW.hex, drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm24xxp/base.c, build_tools/live_dahdi, drivers/dahdi/wcte12xp/wcte12xp.h, drivers/dahdi/voicebus/GpakCust.c, drivers/dahdi/voicebus/voicebus.h, drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c, drivers/dahdi/xpp/xbus-pcm.c: Merge from linux trunk up to r7872. * freebsd/ng_dahdi_netdev/ng_dahdi_netdev.c: ng_name2noderef is not declared in public headers in FreeBSD 7. * BSDmakefile (added): Add a makefile for BSD make for the impatient. * README.freebsd, freebsd/Makefile, drivers/dahdi/dahdi_dynamic_ethmf.c: Port of dahdi_dynamic_ethmf. * drivers/dahdi/wct4xxp/base.c, drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/dahdi_dynamic_eth.c, drivers/dahdi/dahdi-base.c, freebsd/dahdi/bsd-compat.c (added), include/dahdi/compat/bsd.h, freebsd/dahdi/Makefile, drivers/dahdi/wcb4xxp/base.c, drivers/dahdi/dahdi_dynamic_loc.c: Move common Linux kernel API emulation functions to main DAHDI module. * drivers/dahdi/dahdi_dynamic.c: - Call timer function without timer spinlock held - Take timer spinlock when calling callout_reset * include/dahdi/compat/bsd.h: Add atomic_dec_and_test() definition. * drivers/dahdi/dahdi-base.c, include/dahdi/kernel.h: Fix panic on span reconfiguration: destroy channel devices properly. * include/dahdi/compat/bsd.h: Add alternative jiffies definition (via "ticks"). * README.freebsd: Add a notion about dahdi_dynamic_eth. * freebsd/ng_dahdi_netdev/ng_dahdi_netdev.h (added), drivers/dahdi/dahdi_dynamic_eth.c, freebsd/Makefile, freebsd/ng_dahdi_netdev/Makefile (added), freebsd/ng_dahdi_netdev (added), freebsd/ng_dahdi_netdev/ng_dahdi_netdev.c (added): - Add dahdi netgraph module that emulates Linux network devices. - dahdi_dynamic_eth port. * drivers/dahdi/dahdi-base.c: Mark rlprintf as __printlike function. * drivers/dahdi/dahdi_dynamic.c: Fix lock recursion. * drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcb4xxp/base.c: Mark device_rlprintf as __printflike function. * freebsd/dahdi_dynamic_eth/Makefile (added), freebsd/dahdi_dynamic_eth (added), freebsd/dahdi_dynamic_ethmf/Makefile (added), freebsd/dahdi_dynamic_ethmf (added): Makefile glue for dahdi_dynamic_eth[mf] drivers. * freebsd/dahdi_dummy/dahdi_dummy.c: Initialize span owner. 2010-01-02 13:28 +0000 [r7749-7751] Max Khon * /: Merge from linux/trunk up to rev. 7748. * README, build_tools/kernel-cp (added), build_tools: Merge from linux/trunk up to rev. 7748. * drivers/dahdi/wcb4xxp/Makefile, drivers/dahdi/xpp/card_fxo.c, drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/dahdi-base.c, include/dahdi/compat/bsd.h, drivers/dahdi/wcte12xp/base.c, drivers/dahdi/xpp/xpp_dahdi.c, drivers/dahdi/firmware/Makefile, include/dahdi/dahdi_config.h, drivers/dahdi/wct4xxp/vpm450m.c, drivers/dahdi/xpp/card_pri.c, include/dahdi/kernel.h: Merge from linux/trunk up to rev. 7748. 2009-12-08 16:40 +0000 [r7667-7669] Max Khon * drivers/dahdi/xpp/card_bri.c, drivers/dahdi/dahdi-base.c, drivers/dahdi/xpp/xpp.rules, drivers/dahdi/wcte12xp/base.c, /, drivers/dahdi/xpp/.version (removed), drivers/dahdi/xpp/card_pri.c, include/dahdi/kernel.h, drivers/dahdi/wcb4xxp/Makefile, drivers/dahdi/wct4xxp/base.c, drivers/dahdi/xpp/firmwares/USB_FW.hex, drivers/dahdi/xpp/xbus-sysfs.c, drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm24xxp/base.c, drivers/dahdi/wcte12xp/wcte12xp.h, drivers/dahdi/xpp/card_global.c, drivers/dahdi/voicebus/GpakCust.c, drivers/dahdi/wcb4xxp/wcb4xxp.h, drivers/dahdi/voicebus/voicebus.h, drivers/dahdi/xpp/firmwares/PIC_TYPE_1.hex, drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c, drivers/dahdi/voicebus/GpakCust.h, drivers/dahdi/xpp/xbus-pcm.c, drivers/dahdi/wcb4xxp/base.c, firmware.mk, drivers/dahdi/xpp/xbus-pcm.h: Merge up to rev. 7668 from linux/trunk. * freebsd/Makefile: Revert occasional commit. * README.freebsd (added), freebsd/Makefile, drivers/dahdi/dahdi_dynamic_ethmf.c: Add short README about FreeBSD port status with build and install instructions. 2009-11-07 10:13 +0000 [r7532-7533] Max Khon * drivers/dahdi/dahdi_dynamic_ethmf.c (added): Copy dahdi_dynamic_ethmf driver from team/jbenden/tdmoe-multiframe branch. * freebsd/dahdi_dynamic_loc (added), freebsd/dahdi_dynamic/Makefile (added), drivers/dahdi/dahdi_dynamic.c, freebsd/dahdi_dynamic (added), freebsd/Makefile, include/dahdi/compat/bsd.h, freebsd/dahdi_dynamic_loc/Makefile (added), drivers/dahdi/dahdi_dynamic_loc.c: Port dahdi_dynamic and dahdi_dynamic_loc. 2009-10-29 04:00 +0000 [r7420-7435] Max Khon * drivers/dahdi/wcb4xxp/base.c: HFC8-S with subdevice id 0xe552 does not exist: it was just a typo. * drivers/dahdi/wcb4xxp/base.c: Add an ID for older Junghanns.NET OctoBRI card. * freebsd/dahdi (added), freebsd/dahdi_echocan_mg2/Makefile (added), freebsd/Makefile (added), freebsd/dahdi_echocan_sec2/Makefile (added), freebsd/dahdi_echocan_sec (added), drivers/dahdi/dahdi_echocan_kb1.c, freebsd/dahdi/Makefile (added), drivers/dahdi/wct4xxp/base.c, drivers/dahdi/dahdi_echocan_jpah.c, freebsd/dahdi_dummy/dahdi_dummy.c (added), drivers/dahdi/ecdis.h, freebsd/dahdi_echocan_jpah (added), freebsd/dahdi_fw_oct6114_128/Makefile (added), freebsd/dahdi_echocan_mg2 (added), include/dahdi/compat/types.h (added), freebsd/wcb4xxp (added), freebsd (added), freebsd/dahdi_echocan_sec/Makefile (added), freebsd/dahdi_dummy/Makefile (added), freebsd/dahdi_echocan_kb1/Makefile (added), drivers/dahdi/wct4xxp/wct4xxp.h, include/dahdi/dahdi_config.h, include/dahdi/compat/list.h (added), freebsd/dahdi_echocan_jpah/Makefile (added), freebsd/wcb4xxp/Makefile (added), drivers/dahdi/dahdi-base.c, freebsd/dahdi_fw_oct6114_064 (added), freebsd/dahdi_fw_oct6114_128 (added), drivers/dahdi/dahdi_echocan_sec.c, freebsd/wct4xxp (added), include/dahdi/wctdm_user.h, freebsd/dahdi_dummy (added), freebsd/Makefile.inc (added), freebsd/dahdi_echocan_kb1 (added), include/dahdi/user.h, drivers/dahdi/wct4xxp/vpm450m.c, include/dahdi/kernel.h, freebsd/dahdi_fw_oct6114_064/Makefile (added), drivers/dahdi/dahdi_echocan_mg2.c, drivers/dahdi/wct4xxp/vpm450m.h, freebsd/wct4xxp/Makefile (added), drivers/dahdi/wcb4xxp/wcb4xxp.h, include/dahdi/compat/bsd.h (added), drivers/dahdi/dahdi_echocan_sec2.c, freebsd/dahdi_echocan_sec2 (added), include/dahdi/compat (added), drivers/dahdi/wcb4xxp/base.c: Initial FreeBSD port (WIP): - FreeBSD build glue (located under freebsd/) - main dahdi driver - dahdi_dummy driver - echo cancellation drivers (jpah, kb1, mg2, sec, sec2) - wcb4xxp driver - wct4xxp driver with VPM450 and firmware(9) support * build_tools/make_version: Check .svn subdir existence in the correct directory. * drivers/dahdi/firmware/Makefile, firmware.mk (added): Move firmware versions to separate Makefile. * drivers/dahdi: Use octasic_api PR49-03 that has necessary FreeBSD patches. 2009-10-28 13:20 +0000 [r7418] Kevin P. Fleming * / (added): copy linux trunk as a starting point