summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-xwcfxo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcfxo.c b/wcfxo.c
index 924a19d..0a7d212 100755
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -670,7 +670,7 @@ static int wcfxo_hardware_init(struct wcfxo *wc)
outb(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 */
if (wc->flags & FLAG_DOUBLE_CLOCK)