From 3f85873318cde9423df84580a3378d6df6e94107 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Tue, 1 Jul 2008 11:01:18 +0000 Subject: Make the bri module built. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4487 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/xpp/card_bri.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'drivers/dahdi/xpp/card_bri.c') diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index a00d0a7..66ce51e 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -35,8 +35,8 @@ static const char rcsid[] = "$Id$"; -#ifndef CONFIG_ZAPATA_BRI_DCHANS -#error CONFIG_ZAPATA_BRI_DCHANS is not defined +#ifndef CONFIG_DAHDI_BRI_DCHANS +#error CONFIG_DAHDI_BRI_DCHANS is not defined #endif static DEF_PARM(int, debug, 0, 0644, "Print DBG statements"); /* must be before dahdi_debug.h */ @@ -690,8 +690,8 @@ static int BRI_card_dahdi_preregistration(xpd_t *xpd, bool on) cur_chan->pvt = xpd; if(i == 2) { /* D-CHAN */ cur_chan->sigcap = BRI_DCHAN_SIGCAP; - cur_chan->flags |= DAHDI_FLAG_BRIDCHAN; - cur_chan->flags &= ~DAHDI_FLAG_HDLC; + set_bit(DAHDI_FLAGBIT_BRIDCHAN, &cur_chan->flags); + clear_bit(DAHDI_FLAGBIT_HDLC, &cur_chan->flags); /* Setup big buffers for D-Channel rx/tx */ cur_chan->readchunk = priv->dchan_rbuf; @@ -1039,8 +1039,8 @@ static int bri_startup(struct dahdi_span *span) * * Don't Get Mad, Get Even: Now we override dahdi :-) */ - dchan->flags |= DAHDI_FLAG_BRIDCHAN; - dchan->flags &= ~DAHDI_FLAG_HDLC; + set_bit(DAHDI_FLAGBIT_BRIDCHAN, &dchan->flags); + clear_bit(DAHDI_FLAGBIT_HDLC, &dchan->flags); } return 0; } -- cgit v1.2.3