summaryrefslogtreecommitdiff
path: root/wctdm.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-13 19:09:06 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-12-13 19:09:06 +0000
commit31bd64ed9feb67ad53de51d9f0d6a86a3d381713 (patch)
tree6ad203ff297d464ceb906c27a7f5a8dd152917ea /wctdm.c
parenta961cbd7281afa562e7d37647b4bdb5cec263f3f (diff)
Merged revisions 857 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r857 | kpfleming | 2005-12-13 13:08:41 -0600 (Tue, 13 Dec 2005) | 2 lines ensure data is output to proper io port address (issue #5990) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@858 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);