diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 17:25:06 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2010-07-13 17:25:06 +0000 |
commit | dfa545814b61b3e1d527e842dd883b153277c4b4 (patch) | |
tree | 1d44d19b37b1337e0bda53255c5c3a7f363d42f1 /drivers/dahdi/xpp/xbus-core.h | |
parent | 624e11908da4c775717011a31bad086d2c268d2d (diff) |
prevent handling of duplicate Astribanks
Don't let AB which are unplugged/replugged create duplicate XBUS's (if
asterisk don't close the original channels).
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8905 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-core.h')
-rw-r--r-- | drivers/dahdi/xpp/xbus-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xbus-core.h b/drivers/dahdi/xpp/xbus-core.h index 026c112..15312c6 100644 --- a/drivers/dahdi/xpp/xbus-core.h +++ b/drivers/dahdi/xpp/xbus-core.h @@ -308,6 +308,7 @@ xpacket_t *xframe_next_packet(xframe_t *xframe, int len); xpd_t *xpd_of(const xbus_t *xbus, int xpd_num); xpd_t *xpd_byaddr(const xbus_t *xbus, uint unit, uint subunit); +int xbus_check_unique(xbus_t *xbus); bool xbus_setstate(xbus_t *xbus, enum xbus_state newstate); bool xbus_setflags(xbus_t *xbus, int flagbit, bool on); xbus_t *xbus_new(struct xbus_ops *ops, ushort max_send_size, struct device *transport_device, void *priv); |