From ec9071a50adf4afc5d694d2716450d70f45062ab Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 29 Apr 2004 23:04:26 +0000 Subject: Enable alternate AUX0 output git-svn-id: http://svn.digium.com/svn/zaptel/trunk@377 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcfxs.c | 3 +++ wctdm.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/wcfxs.c b/wcfxs.c index 1a7420d..e77310f 100755 --- a/wcfxs.c +++ b/wcfxs.c @@ -1583,6 +1583,9 @@ static int wcfxs_hardware_init(struct wcfxs *wc) /* Set all to outputs except AUX 5, which is an input */ outb(0xdf, wc->ioaddr + WC_AUXC); + + /* Select alternate function for AUX0 */ + outb(0x4, wc->ioaddr + WC_AUXFUNC); /* Wait 1/4 of a sec */ oldjiffies = jiffies; diff --git a/wctdm.c b/wctdm.c index 1a7420d..e77310f 100755 --- a/wctdm.c +++ b/wctdm.c @@ -1583,6 +1583,9 @@ static int wcfxs_hardware_init(struct wcfxs *wc) /* Set all to outputs except AUX 5, which is an input */ outb(0xdf, wc->ioaddr + WC_AUXC); + + /* Select alternate function for AUX0 */ + outb(0x4, wc->ioaddr + WC_AUXFUNC); /* Wait 1/4 of a sec */ oldjiffies = jiffies; -- cgit v1.2.3