summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcfxo.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/wcfxo.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/wcfxo.c')
-rw-r--r--drivers/dahdi/wcfxo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/wcfxo.c b/drivers/dahdi/wcfxo.c
index d9b23a6..d08f658 100644
--- a/drivers/dahdi/wcfxo.c
+++ b/drivers/dahdi/wcfxo.c
@@ -431,7 +431,7 @@ static void wcfxo_tasklet(unsigned long data)
static void wcfxo_stop_dma(struct wcfxo *wc);
static void wcfxo_restart_dma(struct wcfxo *wc);
-ZAP_IRQ_HANDLER(wcfxo_interrupt)
+DAHDI_IRQ_HANDLER(wcfxo_interrupt)
{
struct wcfxo *wc = dev_id;
unsigned char ints;
@@ -665,7 +665,7 @@ static int wcfxo_initialize(struct wcfxo *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));
wc->chan.sigcap = DAHDI_SIG_FXSKS | DAHDI_SIG_FXSLS | DAHDI_SIG_SF;
wc->chan.chanpos = 1;
wc->span.chans = &wc->chan;
@@ -961,7 +961,7 @@ static int __devinit wcfxo_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, wcfxo_interrupt, ZAP_IRQ_SHARED, "wcfxo", wc)) {
+ if (request_irq(pdev->irq, wcfxo_interrupt, DAHDI_IRQ_SHARED, "wcfxo", wc)) {
printk("wcfxo: Unable to request IRQ %d\n", pdev->irq);
if (wc->freeregion)
release_region(wc->ioaddr, 0xff);
@@ -1068,7 +1068,7 @@ static int __init wcfxo_init(void)
printk("%d: %s\n", x, fxo_modes[x].name);
return -ENODEV;
}
- res = zap_pci_module(&wcfxo_driver);
+ res = dahdi_pci_module(&wcfxo_driver);
if (res)
return -ENODEV;
return 0;