From 31bd64ed9feb67ad53de51d9f0d6a86a3d381713 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 13 Dec 2005 19:09:06 +0000 Subject: 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 --- wctdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wctdm.c') 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); -- cgit v1.2.3