summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwcfxs.c3
-rwxr-xr-xwctdm.c3
2 files changed, 6 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;
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;