summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-29 23:04:26 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-04-29 23:04:26 +0000
commitec9071a50adf4afc5d694d2716450d70f45062ab (patch)
treea7978d460da0a223477fcd71b0ac3f044665e1fb /wcfxs.c
parentc5caddc88675c27f66eadf10ee5cd8fc2e22f482 (diff)
Enable alternate AUX0 output
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@377 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c3
1 files changed, 3 insertions, 0 deletions
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;