summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_bri.c
diff options
context:
space:
mode:
authorOron Peled <oron@actcom.co.il>2011-01-30 14:13:22 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-01-30 14:13:22 +0000
commit08abd09f084dc9bfc41b016119338df631d8d33e (patch)
tree6d7227b24ce89922524346671222a1801e826fcf /drivers/dahdi/xpp/card_bri.c
parent55412ce8e38cd22f781bb6db03d5d96f5b15f473 (diff)
xpp: More adaptations for non-PHONEDEV XPDs
* Add IS_PHONEDEV(xpd) macro * Reject dahdi_register_xpd()/dahdi_unregister_xpd() for non-PHONEDEV * Make sysfs 'offhook' attribute contain '\n' if empty (no channels) * Skip PHONEDEV related xbus_tick() parts -- we still want to process the end of it for the card_tick() calls. * Remove BUG_ON() for missing phoneops (also remove old duplicate test for XBUS_IS...) * Call XPD_STATE method only for PHONEDEV XPD's Signed-off-by: Oron Peled <oron@actcom.co.il> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9705 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_bri.c')
0 files changed, 0 insertions, 0 deletions