summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-11-30 21:54:31 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-11-30 21:54:31 +0000
commit19c8067a73d9f34f1de965245a334c72f3359725 (patch)
tree8dd530ab4aa76823bc4a4fbf2d50a81521b38e83
parent9c37de41213afb929f4d7ec9e0e4866ce56d1db1 (diff)
populate the 'irq' member of the span structure since it is there
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3267 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wcfxo.c1
-rw-r--r--wct1xxp.c1
-rw-r--r--wct4xxp/base.c1
-rw-r--r--wctdm.c1
-rw-r--r--wctdm24xxp/base.c1
-rw-r--r--wcte11xp.c1
-rw-r--r--wcte12xp.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/wcfxo.c b/wcfxo.c
index df0d702..6a54dd3 100644
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -632,6 +632,7 @@ static int wcfxo_initialize(struct wcfxo *wc)
wc->span.chans = &wc->chan;
wc->span.channels = 1;
wc->span.hooksig = wcfxo_hooksig;
+ wc->span.irq = wc->dev->irq;
wc->span.open = wcfxo_open;
wc->span.close = wcfxo_close;
wc->span.flags = ZT_FLAG_RBS;
diff --git a/wct1xxp.c b/wct1xxp.c
index aba02c1..6be48c9 100644
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -765,6 +765,7 @@ static int t1xxp_software_init(struct t1xxp *wc)
sprintf(wc->span.desc, "%s Card %d", wc->variety, wc->num);
wc->span.spanconfig = t1xxp_spanconfig;
wc->span.chanconfig = t1xxp_chanconfig;
+ wc->span.irq = wc->dev->irq;
wc->span.startup = t1xxp_startup;
wc->span.shutdown = t1xxp_shutdown;
wc->span.rbsbits = t1xxp_rbsbits;
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index f2e6fa2..33cca7d 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -1533,6 +1533,7 @@ static void init_spans(struct t4 *wc)
sprintf(ts->span.desc, "T%dXXP (PCI) Card %d Span %d", wc->numspans, wc->num, x+1);
ts->span.spanconfig = t4_spanconfig;
ts->span.chanconfig = t4_chanconfig;
+ ts->span.irq = wc->dev->irq;
ts->span.startup = t4_startup;
ts->span.shutdown = t4_shutdown;
ts->span.rbsbits = t4_rbsbits;
diff --git a/wctdm.c b/wctdm.c
index 3b40d78..c1e9df8 100644
--- a/wctdm.c
+++ b/wctdm.c
@@ -2038,6 +2038,7 @@ static int wctdm_initialize(struct wctdm *wc)
wc->span.chans = wc->chans;
wc->span.channels = NUM_CARDS;
wc->span.hooksig = wctdm_hooksig;
+ wc->span.irq = wc->dev->irq;
wc->span.open = wctdm_open;
wc->span.close = wctdm_close;
wc->span.flags = ZT_FLAG_RBS;
diff --git a/wctdm24xxp/base.c b/wctdm24xxp/base.c
index 5f53ad0..0470725 100644
--- a/wctdm24xxp/base.c
+++ b/wctdm24xxp/base.c
@@ -3060,6 +3060,7 @@ static int wctdm_initialize(struct wctdm *wc)
}
wc->span.chans = wc->chans;
wc->span.channels = wc->type;
+ wc->span.irq = wc->dev->irq;
wc->span.hooksig = wctdm_hooksig;
wc->span.open = wctdm_open;
wc->span.close = wctdm_close;
diff --git a/wcte11xp.c b/wcte11xp.c
index f80657d..e40bfa2 100644
--- a/wcte11xp.c
+++ b/wcte11xp.c
@@ -974,6 +974,7 @@ static int t1xxp_software_init(struct t1 *wc)
sprintf(wc->span.desc, "%s Card %d", wc->variety, wc->num);
wc->span.spanconfig = t1xxp_spanconfig;
wc->span.chanconfig = t1xxp_chanconfig;
+ wc->span.irq = wc->dev->irq;
wc->span.startup = t1xxp_startup;
wc->span.shutdown = t1xxp_shutdown;
wc->span.rbsbits = t1xxp_rbsbits;
diff --git a/wcte12xp.c b/wcte12xp.c
index 3f9e9d4..a4b55b3 100644
--- a/wcte12xp.c
+++ b/wcte12xp.c
@@ -1356,6 +1356,7 @@ static int t1_software_init(struct t1 *wc)
wc->span.spanconfig = t1xxp_spanconfig;
wc->span.chanconfig = t1xxp_chanconfig;
+ wc->span.irq = wc->dev->irq;
wc->span.startup = t1xxp_startup;
wc->span.shutdown = t1xxp_shutdown;
wc->span.rbsbits = t1xxp_rbsbits;