summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-21 16:48:35 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-21 16:48:35 +0000
commit3b10699608036b8dfab80e25efe1bee493786413 (patch)
treed12bcdeff2e10a57d49aae065d553c1d9d41d174 /drivers/dahdi/wctdm.c
parent66d8715a0fbf6eae202c27853ba616bcf754d0c7 (diff)
replace zap_ with dahdi_, ZAP_ with DAHDI_
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4321 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm.c')
-rw-r--r--drivers/dahdi/wctdm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wctdm.c b/drivers/dahdi/wctdm.c
index aa38945..e14eb73 100644
--- a/drivers/dahdi/wctdm.c
+++ b/drivers/dahdi/wctdm.c
@@ -1003,7 +1003,7 @@ static inline void wctdm_proslic_check_hook(struct wctdm *wc, int card)
wc->mod[card].fxs.lastrxhook = hook;
}
-ZAP_IRQ_HANDLER(wctdm_interrupt)
+DAHDI_IRQ_HANDLER(wctdm_interrupt)
{
struct wctdm *wc = dev_id;
unsigned char ints;
@@ -2042,7 +2042,7 @@ static int wctdm_initialize(struct wctdm *wc)
snprintf(wc->span.location, sizeof(wc->span.location) - 1,
"PCI Bus %02d Slot %02d", wc->dev->bus->number, PCI_SLOT(wc->dev->devfn) + 1);
wc->span.manufacturer = "Digium";
- zap_copy_string(wc->span.devicetype, wc->variety, sizeof(wc->span.devicetype));
+ dahdi_copy_string(wc->span.devicetype, wc->variety, sizeof(wc->span.devicetype));
if (alawoverride) {
printk("ALAW override parameter detected. Device will be operating in ALAW\n");
wc->span.deflaw = DAHDI_LAW_ALAW;
@@ -2332,7 +2332,7 @@ static int __devinit wctdm_init_one(struct pci_dev *pdev, const struct pci_devic
/* Keep track of which device we are */
pci_set_drvdata(pdev, wc);
- if (request_irq(pdev->irq, wctdm_interrupt, ZAP_IRQ_SHARED, "wctdm", wc)) {
+ if (request_irq(pdev->irq, wctdm_interrupt, DAHDI_IRQ_SHARED, "wctdm", wc)) {
printk("wctdm: Unable to request IRQ %d\n", pdev->irq);
if (wc->freeregion)
release_region(wc->ioaddr, 0xff);
@@ -2492,7 +2492,7 @@ static int __init wctdm_init(void)
battthresh = fxo_modes[_opermode].battthresh;
}
- res = zap_pci_module(&wctdm_driver);
+ res = dahdi_pci_module(&wctdm_driver);
if (res)
return -ENODEV;
return 0;