From f43899b371f738e954c9dcd69a60b54d98c65bcc Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 13 Dec 2005 19:08:41 +0000 Subject: 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 --- 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