summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-13 19:08:41 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-13 19:08:41 +0000
commitf43899b371f738e954c9dcd69a60b54d98c65bcc (patch)
tree6ad203ff297d464ceb906c27a7f5a8dd152917ea /wctdm.c
parent8e82558ff539c74a76b30554c2cc85e1422f647e (diff)
ensure data is output to proper io port address (issue #5990)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@857 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rw-r--r--wctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wctdm.c b/wctdm.c
index 0fd50b6..fefaefb 100644
--- a/wctdm.c
+++ b/wctdm.c
@@ -2057,7 +2057,7 @@ static int wctdm_hardware_init(struct wctdm *wc)
outb(0x30 | 0x01, wc->ioaddr + WC_CNTL);
/* Make sure serial port and DMA are out of reset */
- outb(inb(wc->ioaddr + WC_CNTL) & 0xf9, WC_CNTL);
+ outb(inb(wc->ioaddr + WC_CNTL) & 0xf9, wc->ioaddr + WC_CNTL);
/* Configure serial port for MSB->LSB operation */
outb(0xc1, wc->ioaddr + WC_SERCTL);