xpp: BRI: split multibyte functionality
authorOron Peled <oron.peled@xorcom.com>
Mon, 2 Jan 2012 14:06:50 +0000 (14:06 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 2 Jan 2012 14:06:50 +0000 (14:06 +0000)
commit9fd76d93c9555fa9dc1482530941f23e58c2e049
tree55633aad8b26341ae0982d495d2cd5ff93b8a081
parent6706b03d9db810a2cf2f3efc795d951bb1bc4acc
xpp: BRI: split multibyte functionality

* The zero lenth case (Magic request) was split into
  send_magic_request() function. It was not possible
  to move it into card_bri.c, because it is called
  directly from the general interface we provide for
  register read/write via sysfs/proc.

* The normal case (send_multibyte_request) was moved from
  card_global.c into card_bri.c

* This sets the stage to enable bundling of multibyte
  packets into frames (like we do for PCM).

Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Acked-By: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10389 a0bf4364-ded3-4de4-8d8a-66a801d63aff
drivers/dahdi/xpp/card_bri.c
drivers/dahdi/xpp/card_global.c