[svn-commits] branch 1.2 - r857 /branches/1.2/wctdm.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 13 13:08:42 CST 2005


Author: kpfleming
Date: Tue Dec 13 13:08:41 2005
New Revision: 857

URL: http://svn.digium.com/view/zaptel?rev=857&view=rev
Log:
ensure data is output to proper io port address (issue #5990)

Modified:
    branches/1.2/wctdm.c

Modified: branches/1.2/wctdm.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctdm.c?rev=857&r1=856&r2=857&view=diff
==============================================================================
--- branches/1.2/wctdm.c (original)
+++ branches/1.2/wctdm.c Tue Dec 13 13:08:41 2005
@@ -2057,7 +2057,7 @@
 	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);



More information about the svn-commits mailing list