2010-09-02 10:12 +0000 [r9206-9253]  Max Khon <fjoe@freebsd.org>

	* freebsd/dahdi/bsd-compat.c: Usecount should be checked in
	  MOD_QUIESCE event.

	* drivers/dahdi/wctdm.c, drivers/dahdi/wcfxo.c: Add
	  dahdi_module_usecount() checks.

	* drivers/dahdi/dahdi-base.c: Fix handling of O_NONBLOCK setting
	  via F_SETFL fcntl.

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/wctc4xxp/base.c, drivers/dahdi/wctdm24xxp/base.c,
	  freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h,
	  drivers/dahdi/wcte12xp/base.c, drivers/dahdi/wcb4xxp/base.c: -
	  Generic modevent() for DAHDI modules - Fix try_module_get()
	  return value - Add dahdi_module_usecount() and use it in device
	  detach routines that are executed before modevent()

	* drivers/dahdi/dahdi_transcode.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/dahdi_dynamic_eth.c, drivers/dahdi/dahdi_dynamic.c,
	  drivers/dahdi/dahdi_echocan_oslec.c, drivers/dahdi/wctdm.c,
	  drivers/dahdi/dahdi-base.c, drivers/dahdi/dahdi_echocan_sec.c,
	  freebsd/dahdi/bsd-compat.c, drivers/dahdi/wcfxo.c,
	  drivers/dahdi/dahdi_echocan_kb1.c, drivers/dahdi/wcte12xp/base.c,
	  drivers/dahdi/dahdi_echocan_jpah.c, drivers/dahdi/wct4xxp/base.c,
	  drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctc4xxp/base.c,
	  drivers/dahdi/wctdm24xxp/base.c,
	  drivers/dahdi/dahdi_dynamic_ethmf.c,
	  drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c,
	  drivers/dahdi/dahdi_echocan_sec2.c, include/dahdi/compat/bsd.h,
	  drivers/dahdi/wcb4xxp/base.c, drivers/dahdi/dahdi_dynamic_loc.c:
	  - Implement try_module_get() and module_put() KAPI - Implement
	  standard modevent for DAHDI drivers and modules

	* drivers/dahdi/wctdm.c: Define module parameters for wctdm
	  properly.

	* drivers/dahdi/wctdm.c: Fix "opermode" definition for FreeBSD
	  (should be array).

	* freebsd/Makefile.inc: Mute echo command when fetch is disabled.

	* freebsd/Makefile.inc: Add ability to skip fetching tarballs
	  during the build.

	* freebsd/dahdi/Makefile: Add diagnostics when version.h is
	  updated.

	* freebsd/Makefile: Add ability to specify additional drivers to
	  build.

	* freebsd/Makefile, drivers/staging (removed): Remove Linux kernel
	  code from Digium SVN due to copyright issues. I will add it to
	  the ports/misc/dahdi in FreeBSD ports instead.

	* drivers/dahdi/wcfxo.c: Remove extra space.

	* freebsd/dahdi_echocan_oslec/Makefile (added),
	  drivers/dahdi/dahdi_echocan_oslec.c, drivers/staging/echo/echo.c,
	  freebsd/Makefile, freebsd/dahdi_echocan_oslec (added): Initial
	  port of OSLEC echo canceller.

	* drivers/staging/echo/oslec.h (added), drivers/staging/echo/echo.c
	  (added), drivers/staging/echo (added), drivers/staging (added),
	  drivers/staging/echo/echo.h (added), drivers/staging/echo/fir.h
	  (added): Add OSLEC sources from Linux 2.6.35.4.

	* include/dahdi/compat/bsd.h: Add EXPORT_SYMBOL_GPL definition.

	* drivers/dahdi/wctc4xxp/base.c, freebsd/wctc4xxp/Makefile: -
	  Implement deferred processing in ithread - Fix missing spinlock
	  release in error path in wctc4xxp_submit() - Fix unlocked 'struct
	  wctc4xxp_descriptor_ring' access in wctc4xxp_retrieve() - Fix
	  lock order reversal in service_tx_ring() - Reduce differences to
	  Linux in __cmd_alloc()

	* drivers/dahdi/dahdi_transcode.c: Ignore FIONBIO and FIOASYNC
	  ioctls: they are actually handled by upper level but also are
	  passed down to the device driver. This fixes warnings about
	  inability to set non-blocking mode for codec_dahdi descriptors
	  during asterisk startup.

	* freebsd/dahdi/bsd-compat.c: Fix completion API so that
	  completions are reusable.

	* drivers/dahdi/wct4xxp/base.c, /: Merge from linux trunk up to
	  rev. 9205.

2010-08-25 17:56 +0000 [r9173-9199]  Max Khon <fjoe@freebsd.org>

	* freebsd/ng_dahdi_netdev: Set svn:ignore.

	* freebsd/dahdi, freebsd/dahdi_dynamic_loc,
	  freebsd/dahdi_transcode, freebsd/wcte11xp, freebsd/wcte12xp,
	  freebsd/dahdi_dynamic, freebsd/dahdi_dynamic_eth, freebsd/wctdm,
	  freebsd/wct4xxp, freebsd/dahdi_echocan_sec, freebsd/wctdm24xxp,
	  freebsd/wctc4xxp, freebsd/dahdi_dummy, freebsd/wcfxo,
	  freebsd/dahdi_echocan_kb1, freebsd/dahdi_echocan_jpah,
	  freebsd/dahdi_echocan_mg2, freebsd/dahdi-fw-tc400m.bin,
	  freebsd/dahdi-fw-hx8.bin, freebsd/dahdi_vpmadt032_loader,
	  freebsd/wcb4xxp, freebsd/dahdi_dynamic_ethmf,
	  freebsd/dahdi-fw-oct6114-064.bin,
	  freebsd/dahdi-fw-oct6114-128.bin, freebsd/dahdi_echocan_sec2,
	  freebsd/dahdi_voicebus: Set svn:ignore for builds without OBJDIR.

	* drivers/dahdi/wcfxo.c: dahdi_device_attach(): sync initialization
	  sequence with Linux, so that necessary structures are initialized
	  before interrupts are configured.

	* drivers/dahdi/dahdi-base.c: Remove debuging leftover.

	* /, drivers/dahdi/wcb4xxp/base.c: Merge from linux trunk up to
	  rev. 9190

	* include/dahdi/compat/types.h, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h,
	  freebsd/ng_dahdi_netdev/ng_dahdi_netdev.c: Fix copyrights.

	* drivers/dahdi/dahdi-base.c, include/dahdi/kernel.h: - Fix
	  non-blocking mode detection in __rbs_otimer_expire() This fixes
	  outgoing calls on FXO. - dahdi_schluffen() should return negative
	  value on error.

	* drivers/dahdi/wcte12xp/wcte12xp.h, drivers/dahdi/wcte12xp/base.c:
	  - Do not defined ifacelock and ifaces - Do destroy_completion()
	  in correct place

	* drivers/dahdi/wctdm24xxp/base.c,
	  drivers/dahdi/voicebus/GpakCust.c,
	  drivers/dahdi/voicebus/GpakCust.h, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/wcte12xp/base.c: -
	  destroy vpmadt032_cmd structures properly - fix completion API
	  emulation

	* drivers/dahdi/voicebus/GpakCust.c: Consistently use dev_info() to
	  print "Passed".

	* drivers/dahdi/voicebus/voicebus.c: Fix vb_isr() return value.

	* drivers/dahdi/wctdm24xxp/base.c: - Define ifacelock/ifaces so
	  that there is no symbol clash with voicebus driver. -
	  wctdm_get/setreg() should not be inline

	* drivers/dahdi/voicebus/voicebus.c: Implement
	  vb_enable/disable_deferred() properly.

	* drivers/dahdi/voicebus/voicebus.c,
	  drivers/dahdi/voicebus/voicebus.h: Remove
	  VOICEBUS_SCHEDULE_ITHREAD -- dahdi-linux does processing in
	  interrupt context now.

	* drivers/dahdi/wctc4xxp/base.c: Fix build on FreeBSD 8.x/amd64 and
	  later.

	* drivers/dahdi/wctc4xxp/base.c: Fix FreeBSD 7.x support (no
	  wmb()).

	* drivers/dahdi/voicebus/voicebus.c,
	  drivers/dahdi/wctdm24xxp/base.c, include/dahdi/compat/bsd.h:
	  DECLARE_MUTEX can not be properly emulated right now -- drop it.

	* drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctc4xxp/base.c:
	  - Add wmb() definition - Sync DMA map after SET_OWNED.

	* drivers/dahdi/voicebus/voicebus.c: Initialize vbb before passing
	  it to voicebus_unmap.

	* drivers/dahdi/wctc4xxp/base.c: - Fix cmd allocator - Fix firmware
	  loader

	* freebsd/dahdi-fw-tc400m.bin/Makefile (added), freebsd/Makefile,
	  freebsd/dahdi-fw-tc400m.bin (added): Add tc400m firmware driver.

	* drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h,
	  drivers/dahdi/xpp/xbus-core.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c,
	  drivers/dahdi/xpp/xbus-core.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_channel_priv.h,
	  drivers/dahdi/oct612x/octdeviceapi,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_mixer_pub.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tsst_inst.h,
	  drivers/dahdi/dahdi_echocan_jpah.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c,
	  drivers/dahdi/xpp/card_global.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_version.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c,
	  drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_playout_buf_priv.h,
	  drivers/dahdi/wct4xxp/wct4xxp.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_tsst_priv.h,
	  drivers/dahdi/wctdm24xxp/wctdm24xxp.h,
	  drivers/dahdi/dahdi_echocan_oslec.c, drivers/dahdi/wct1xxp.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_mixer_inst.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_adpcm_chan_pub.h,
	  drivers/dahdi/oct612x/include/octtype.h, drivers/dahdi/oct612x
	  (added), /,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c,
	  drivers/dahdi/oct612x/apilib/bt/octapi_bt0_private.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_chip_stats_inst.h,
	  build_tools/live_dahdi,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tone_detection_inst.h,
	  drivers/dahdi/oct612x/Makefile, drivers/dahdi/xpp/xpd.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tone_detection_pub.h,
	  drivers/dahdi/oct612x/include/octrpc/oct6100_rpc_protocol.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_interrupts_inst.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_phasing_tsst_pub.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_chip_stats_priv.h,
	  drivers/dahdi/wctdm.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_tone_detection_priv.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_chip_open_priv.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_tlv_priv.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_debug_inst.h,
	  drivers/dahdi/oct612x/apilib/largmath, drivers/dahdi/wcfxo.c,
	  drivers/dahdi/voicebus/gpakenum.h, drivers/dahdi/wct4xxp/base.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_interrupts_priv.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_remote_debug_inst.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api,
	  drivers/dahdi/voicebus/GpakCust.c,
	  drivers/dahdi/oct612x/include/octtypevx.h,
	  drivers/dahdi/oct612x/include/octtypewin.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c,
	  drivers/dahdi/voicebus/GpakCust.h, drivers/dahdi/xpp/xproto.h,
	  include/dahdi/dahdi_config.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_adpcm_chan_inst.h,
	  drivers/dahdi/oct612x/apilib/llman/octapi_llman_private.h,
	  drivers/dahdi/wctdm24xxp/xhfc.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tsi_cnct_pub.h,
	  drivers/dahdi/dahdi_dynamic.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_remote_debug_priv.h,
	  drivers/dahdi/oct612x/get_discards,
	  drivers/dahdi/wctdm24xxp/xhfc.h, drivers/dahdi/dahdi-base.c,
	  README, drivers/dahdi/xpp/xpp_usb.c, include/dahdi/user.h,
	  drivers/dahdi/Kbuild,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h,
	  drivers/dahdi/voicebus/GpakApi.c,
	  drivers/dahdi/wctdm24xxp/base.c,
	  drivers/dahdi/oct612x/include/oct6100api,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_conf_bridge_inst.h,
	  drivers/dahdi/oct612x/apilib/bt/octapi_bt0.c,
	  drivers/dahdi/oct612x/include/digium_unused.h,
	  drivers/dahdi/voicebus/GpakApi.h,
	  drivers/dahdi/oct612x/include/octdef.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_apiud.h,
	  include/dahdi/compat/bsd.h, drivers/dahdi/xpp/xbus-pcm.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_channel_inst.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_chip_stats_pub.h,
	  drivers/dahdi/xpp/firmwares/PIC_TYPE_4.hex,
	  drivers/dahdi/wcb4xxp/base.c, drivers/dahdi/xpp/xbus-pcm.h,
	  drivers/dahdi/dahdi_transcode.c,
	  drivers/dahdi/oct612x/include/apilib/octapi_bt0.h,
	  drivers/dahdi/oct612x/test.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_playout_buf_inst.h,
	  drivers/dahdi/oct612x/include/octrpc/rpc_protocol.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c,
	  drivers/dahdi/voicebus/gpakErrs.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_phasing_tsst_inst.h,
	  Makefile, drivers/dahdi/xpp/xpp_dahdi.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_remote_debug_pub.h,
	  drivers/dahdi/oct612x/include,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_chip_open_pub.h,
	  drivers/dahdi/oct612x/apilib/llman/octapi_llman.c,
	  drivers/dahdi/xpp/xpp_dahdi.h, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h,
	  drivers/dahdi/tor2.c, include/dahdi/kernel.h,
	  drivers/dahdi/oct612x/apilib/bt, drivers/dahdi/xpp/card_fxo.c,
	  drivers/dahdi/xpp/xbus-sysfs.c,
	  drivers/dahdi/xpp/firmwares/USB_FW.hex,
	  drivers/dahdi/voicebus/voicebus.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_apimi.h,
	  drivers/dahdi/xpp/card_fxs.c,
	  drivers/dahdi/oct612x/include/apilib/octapi_llman.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_mixer_priv.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_chip_open_inst.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tlv_inst.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c,
	  drivers/dahdi/xpp/xpp_debug, drivers/dahdi/voicebus/voicebus.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_tsi_cnct_inst.h,
	  drivers/dahdi/oct612x/include/octmac.h,
	  drivers/dahdi/xpp/init_card_4_30,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_conf_bridge_pub.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_api.h,
	  firmware.mk,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_events_pub.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_errors.h,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_defines.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h,
	  drivers/dahdi/dahdi_dummy.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_apimi,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_interrupts_pub.h,
	  build_tools/kernel-cp, drivers/dahdi/pciradio.c,
	  drivers/dahdi/oct612x/include/apilib/octapi_largmath.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_playout_buf_pub.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_events_inst.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_debug_priv.h,
	  drivers/dahdi/oct612x/include/octrpc,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_api_inst.h,
	  drivers/dahdi/hpec/dahdi_echocan_hpec.c, include/stdbool.h
	  (added), drivers/dahdi/oct612x/include/octosdependant.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c,
	  drivers/dahdi/xpp/card_bri.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_channel_pub.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_events_priv.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_memory_priv.h,
	  drivers/dahdi/oct612x/apilib,
	  drivers/dahdi/oct612x/octasic-helper,
	  drivers/dahdi/wcte12xp/base.c,
	  drivers/dahdi/oct612x/apilib/llman, drivers/dahdi/xpp/card_pri.c,
	  drivers/dahdi/oct612x/include/oct6100api/oct6100_debug_pub.h,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c,
	  drivers/dahdi/wctc4xxp/base.c,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c,
	  drivers/dahdi/wcte12xp/wcte12xp.h,
	  drivers/dahdi/wcb4xxp/wcb4xxp.h,
	  drivers/dahdi/oct612x/include/apilib,
	  drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_user.c:
	  Merge from linux trunk up to rev. 9172

2010-08-20 09:52 +0000 [r9169-9172]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wctc4xxp/base.c, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h: Reduce a number of #ifdef
	  __FreeBSD__: del_timer() and del_timer_sync() should return int.

	* drivers/dahdi/wctc4xxp/base.c, freebsd/Makefile,
	  freebsd/wctc4xxp/Makefile (added), freebsd/wctc4xxp (added):
	  Initial wctc4xxp driver port.

	* drivers/dahdi/wcte11xp.c: Fix comment.

	* include/dahdi/compat/bsd.h: Implement wait_event_interruptible().

2010-08-19 07:22 +0000 [r9164-9166]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm.c,
	  freebsd/dahdi/bsd-compat.c, drivers/dahdi/wcfxo.c: Fix return
	  value conversions (FreeBSD expects >0 return values, Linux <0
	  return values).

	* include/dahdi/compat/bsd.h: - Change WARN_ON to expression. - Add
	  WARN_ON_ONCE implementation.

	* include/dahdi/compat/types.h: __le16 and __le32 should be
	  unsigned.

2010-08-16 08:50 +0000 [r9139-9141]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm.c,
	  drivers/dahdi/wctdm24xxp/base.c,
	  drivers/dahdi/voicebus/voicebus.h, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/wcfxo.c:
	  bus_dma_tag_create(9) on sparc64 requires non-NULL parent.

	* freebsd/Makefile: Re-group HW drivers.

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/wctdm.c,
	  drivers/dahdi/dahdi-base.c, include/dahdi/compat/bsd.h,
	  drivers/dahdi/wcfxo.c, drivers/dahdi/wcb4xxp/base.c,
	  include/dahdi/kernel.h: Fix build on sparc64.

2010-08-09 10:49 +0000 [r9115-9116]  Max Khon <fjoe@freebsd.org>

	* include/dahdi/compat/bsd.h: Fix D_VERSION_LINEAR definition.

	* drivers/dahdi/dahdi-base.c, include/dahdi/compat/bsd.h: Fix build
	  on FreeBSD 9.

2010-08-08 09:14 +0000 [r9108-9114]  Max Khon <fjoe@freebsd.org>

	* freebsd/dahdi-fw-hx8.bin/Makefile,
	  freebsd/dahdi_vpmadt032_loader/Makefile,
	  freebsd/dahdi-fw-oct6114-064.bin/Makefile,
	  freebsd/dahdi-fw-oct6114-128.bin/Makefile: - Fix "make depend"
	  for dahdi_vpmadt032_loader - Rework fetching firmware tarballs

	* include/dahdi/compat/bsd.h: Fix build on FreeBSD 7.x

	* drivers/dahdi/dahdi-base.c: Fix driver unloading.

	* drivers/dahdi/dahdi-base.c: Add missing dependency on firmare.

	* drivers/dahdi/voicebus/voicebus.c: Cosmetic fix: define
	  MODULE_VERSION after DAHDI_DEV_MODULE.

	* drivers/dahdi/dahdi_dynamic_eth.c,
	  drivers/dahdi/dahdi_dynamic_ethmf.c: ETH_ALEN is now defined in
	  bsd/compat.h

	* freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h: - Add
	  cpu_to_be32(), le16_to_cpu(), cpu_to_be16(), be16_to_cpu() - Add
	  __be16 and __be32 - Add __LITTLE_ENDIAN_BITFIELD and
	  __BIG_ENDIAN_BITFIELD - Add wait_for_completion() - Add ETH_ALEN

2010-07-08 13:48 +0000 [r8861-8867]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/wctdm.c, drivers/dahdi/wctdm24xxp/base.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/wcfxo.c,
	  drivers/dahdi/wcte12xp/base.c, drivers/dahdi/wcb4xxp/base.c:
	  Define THIS_MODULE for HW drivers.

	* drivers/dahdi/dahdi-base.c: - Fix a few cases when
	  dahdi_transcode_fops is not properly set - Add #ifdef comments

	* drivers/dahdi/dahdi_transcode.c: Add #ifdef comments. >
	  Description of fields to fill in above: 76 columns --| > PR: If a
	  GNATS PR is affected by the change. > Submitted by: If someone
	  else sent in the change. > Reviewed by: If someone else reviewed
	  your modification. > Approved by: If you needed approval for this
	  commit. > Obtained from: If the change is from a third party. >
	  MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email.
	  > Security: Vulnerability reference (one per line) or
	  description. > Empty fields above will be automatically removed.
	  M dahdi_transcode.c

	* drivers/dahdi/dahdi_dynamic.c: Add #ifdef comment.

	* drivers/dahdi/dahdi_transcode.c, freebsd/dahdi_transcode (added),
	  freebsd/Makefile, drivers/dahdi/dahdi-base.c,
	  include/dahdi/compat/bsd.h, freebsd/dahdi_transcode/Makefile
	  (added), include/dahdi/kernel.h: - Initial dahdi_transcode driver
	  port - dahdi_fop_read(), dahdi_fop_write() and
	  dahdi_copy_from_user() now return negative values on error (as
	  expected by Linux KPI)

	* drivers/dahdi/dahdi_dynamic.c: Extend "dahdi.dynamic" sysctl node
	  description.

	* drivers/dahdi/dahdi_echocan_jpah.c,
	  drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/dahdi_dynamic_eth.c,
	  drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/voicebus/voicebus.c,
	  drivers/dahdi/dahdi_dynamic_ethmf.c, drivers/dahdi/dahdi-base.c,
	  drivers/dahdi/dahdi_echocan_sec.c,
	  drivers/dahdi/dahdi_echocan_sec2.c,
	  drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/dahdi_echocan_kb1.c,
	  drivers/dahdi/wcfxo.c, drivers/dahdi/dahdi_dynamic_loc.c: Emulate
	  THIS_MODULE.

2010-07-06 21:12 +0000 [r8860]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/dahdi-base.c: Fix use of free'd memory by
	  kern_poll() and friends after dahdi_free_pseudo() call: 'struct
	  dahdi_chan' includes 'struct selinfo' which should not be free'd
	  because current thread can still have references to it after
	  selrecord() call.

2010-06-20 18:23 +0000 [r8792-8795]  Max Khon <fjoe@freebsd.org>

	* include/dahdi/compat/bsd.h: Initialize rwlocks (that are actually
	  sx locks) with SX_NOADAPTIVE, so they spin instead of sleeping:
	  dahdi_receive() calls process_masterspan() that uses rwlocks and
	  dahdi_receive() can be called from interrupt filter.

	* README: Document new HW drivers that are now supported on
	  FreeBSD.

	* freebsd/Makefile: Connect tested HW drivers to the build
	  (although vpmadt032 does not work yet).

	* freebsd/Makefile.inc: Add debugging CFLAGS (commented out by
	  default).

2010-06-16 04:16 +0000 [r8782-8783]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wcte12xp/base.c: Fix double free.

	* drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c: Fix
	  dependency on dahdi_voicebus.

2010-06-01 17:54 +0000 [r8714-8740]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/dahdi_echocan_jpah.c,
	  drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/dahdi_echocan_sec.c,
	  drivers/dahdi/dahdi_echocan_sec2.c,
	  drivers/dahdi/dahdi_echocan_kb1.c: FreeBSD error return values
	  are positive.

	* drivers/dahdi/voicebus/voicebus.c: Use FILTER_SCHEDULE_THREAD
	  correctly.

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/wcfxo.c,
	  drivers/dahdi/wcb4xxp/base.c: Define IRQ_NONE, IRQ_HANDLED and
	  IRQ_RETVAL to reduce the number of #ifdef __FreeBSD__.

	* drivers/dahdi/wctdm24xxp/xhfc.c,
	  drivers/dahdi/dahdi_dynamic_eth.c,
	  drivers/dahdi/voicebus/voicebus.c,
	  drivers/dahdi/dahdi_dynamic_ethmf.c,
	  drivers/dahdi/voicebus/GpakCust.c, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/wcte12xp/base.c,
	  include/dahdi/kernel.h: Reduce the number of #if
	  defined(__FreeBSD__): pretend that we have Linux 2.6.32 KPI.

	* include/dahdi/dahdi_config.h: Revert ocassionally commited
	  change: DAHDI core timer is still to be used by default.

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm.c,
	  freebsd/dahdi/bsd-compat.c, include/dahdi/compat/bsd.h,
	  drivers/dahdi/wcfxo.c, include/dahdi/dahdi_config.h: Move DMA
	  allocate/free/map API to the main driver.

	* freebsd/dahdi_vpmadt032_loader/Makefile (added),
	  freebsd/Makefile, freebsd/dahdi_vpmadt032_loader (added),
	  drivers/dahdi/voicebus/voicebus.h,
	  drivers/dahdi/vpmadt032_loader/dahdi_vpmadt032_loader.c: Initial
	  dahdi_vpmadt032_loader port.

	* freebsd/Makefile.inc: Add CP and TOUCH definitions.

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wctdm24xxp/base.c,
	  drivers/dahdi/wcb4xxp/base.c: dahdi_pci_get_slot() does not add
	  +1.

	* drivers/dahdi/dahdi_echocan_jpah.c,
	  drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/dahdi_echocan_sec.c,
	  drivers/dahdi/dahdi_echocan_sec2.c,
	  drivers/dahdi/dahdi_echocan_kb1.c: Remove superfluous empty
	  lines.

	* include/dahdi/compat/bsd.h, include/dahdi/kernel.h: - Add
	  dahdi_pci_get_device() and dahdi_pci_get_vendor()
	  implementations. - Fix dahdi_pci_get_bus() Linux implementation.

	* freebsd/dahdi_fw_oct6114_064 (removed),
	  freebsd/dahdi_fw_oct6114_128 (removed): Remove old Octasic
	  firmware build glue.

	* drivers/dahdi/wct4xxp/base.c, freebsd/Makefile,
	  freebsd/dahdi-fw-oct6114-064.bin/Makefile,
	  freebsd/dahdi-fw-oct6114-128.bin/Makefile,
	  freebsd/dahdi-fw-oct6114-064.bin (added),
	  freebsd/dahdi-fw-oct6114-128.bin (added): - Reduce differences to
	  Linux: Octasic firmware modules now have the same names as in
	  Linux. - Connect HX8 firmware to the build.

	* drivers/dahdi/firmware/Makefile, firmware.mk: Move HX8_VERSION to
	  firmware.mk.

	* freebsd/dahdi-fw-hx8.bin/Makefile (added),
	  freebsd/dahdi-fw-hx8.bin (added): Add HX8 firmware.

	* freebsd/Makefile: make WITH_EXPERIMENTAL=yes can now be used to
	  build/install experimental drivers (that were not tested on real
	  HW yet).

	* freebsd/wcte12xp/Makefile, drivers/dahdi/wcte12xp/base.c: Initial
	  FreeBSD port.

	* drivers/dahdi/wctdm24xxp/base.c: style(9) fixes in
	  FreeBSD-specific code.

	* drivers/dahdi/wctdm24xxp/base.c: Fix device module name.

	* drivers/dahdi/wcte11xp.c: Add missing bus_dmamap_sync() calls.

	* drivers/dahdi/voicebus/voicebus.c: Remove unused #include
	  <vm/uma.h>

2010-05-29 08:27 +0000 [r8708-8711]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wct4xxp/base.c, drivers/dahdi/wcte11xp.c,
	  drivers/dahdi/voicebus/voicebus.c, drivers/dahdi/wctdm.c,
	  drivers/dahdi/wctdm24xxp/base.c, drivers/dahdi/dahdi-base.c,
	  drivers/dahdi/wcfxo.c, drivers/dahdi/wcb4xxp/base.c: - Remove
	  unused shutdown/suspend/resume device methods - Remove unused
	  DPRINTF macros - Fix xxx_setup_intr error return values (should
	  be > 0)

	* drivers/dahdi/wcte11xp.c: Initial FreeBSD port.

	* freebsd/wcte11xp/Makefile (added), freebsd/wcte12xp/Makefile
	  (added), freebsd/wcte11xp (added), freebsd/wcte12xp (added),
	  freebsd/Makefile: Makefile glue for wcte11xp and wcte12xp.

	* freebsd/wct4xxp/Makefile: Remove unused variable.

2010-05-18 06:58 +0000 [r8634-8664]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wctdm.c: Add missing spin_lock_destroy() call.

	* freebsd/Makefile, README: Add a note about wctdm (ported, but not
	  tested on real HW).

	* drivers/dahdi/wctdm.c: Initial version of wctdm port.

	* drivers/dahdi/wcfxo.c: Validate opermode on FreeBSD too.

	* README: Add wcfxo to the list of drivers supported on FreeBSD.

	* freebsd/Makefile: Connect wcfxo driver to the build: it is tested
	  and works.

2010-05-16 09:28 +0000 [r8625-8627]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/wcfxo.c: Initial FreeBSD port.

	* include/dahdi/compat/bsd.h: Implement schedule_timeout()
	  emulation.

	* freebsd/wcfxo/Makefile (added), freebsd/wcfxo (added): Makefile
	  glue for wcfxo driver.

2010-05-04 14:18 +0000 [r8604-8605]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/dahdi_dynamic.c: Implement "hardhdlc" mode for
	  dahdi_dynamic spans.

	* drivers/dahdi/dahdi_dynamic_ethmf.c: list_for_each_entry_rcu()
	  should be safe for deletions from the list.

2010-04-12 14:57 +0000 [r8500-8502]  Max Khon <fjoe@freebsd.org>

	* build_tools/make_version: Add missing slash. This fixes DAHDI
	  version evaluation when DAHDI is built from tarball.

	* freebsd/dahdi/Makefile: Fix DAHDIVERSION evaluation.

	* drivers/dahdi/dahdi_dynamic.c: - Fix locking: return back rwlocks
	  - Use safe list iteration macro in dahdi_dynamic_unregister()

2010-04-11 06:30 +0000 [r8499]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/dahdi-base.c: - Return correct error from
	  dahdi_modevent. This fixes module unloading - Define dahdi_dummy
	  only when built with CONFIG_DAHDI_CORE_TIMER

2010-03-18 15:15 +0000 [r8346-8353]  Max Khon <fjoe@freebsd.org>

	* drivers/dahdi/dahdi_dynamic_ethmf.c: dynamic_ethmf driver was
	  added to the linux trunk recently: merge it from there.

	* drivers/dahdi/dahdi_echocan_jpah.c, drivers/dahdi/wct4xxp/base.c,
	  drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/wctdm24xxp/base.c, drivers/dahdi/dahdi-base.c,
	  drivers/dahdi/dahdi_echocan_sec.c,
	  drivers/dahdi/dahdi_echocan_sec2.c, freebsd/dahdi/bsd-compat.c,
	  include/dahdi/compat/bsd.h, drivers/dahdi/dahdi_echocan_kb1.c,
	  drivers/dahdi/wcb4xxp/base.c: Module parameters are now visible
	  as sysctl nodes.

	* drivers/dahdi/dahdi_echocan_jpah.c,
	  drivers/dahdi/dahdi_dynamic.c, drivers/dahdi/dahdi_echocan_mg2.c,
	  drivers/dahdi/dahdi-base.c, drivers/dahdi/dahdi_echocan_sec.c,
	  drivers/dahdi/dahdi_echocan_sec2.c,
	  drivers/dahdi/dahdi_echocan_kb1.c: Enable module parameters
	  (visible as tunables on FreeBSD).

2010-03-15 20:24 +0000 [r8337-8341]  Max Khon <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* drivers/dahdi/wctdm.c: Use wrappers for inb/inl/outb.

2010-01-13 19:10 +0000 [r7913-7914]  Max Khon <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* /: 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <fjoe@freebsd.org>

	* 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 <kpfleming@digium.com>

	* / (added): copy linux trunk as a starting point

