Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci enable the joystick port on attach, too



details:   https://anonhg.NetBSD.org/src/rev/40935affe11d
branches:  trunk
changeset: 521650:40935affe11d
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Feb 02 18:10:28 2002 +0000

description:
enable the joystick port on attach, too

diffstat:

 sys/dev/pci/emuxki.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f5a113dcd5ec -r 40935affe11d sys/dev/pci/emuxki.c
--- a/sys/dev/pci/emuxki.c      Sat Feb 02 17:36:07 2002 +0000
+++ b/sys/dev/pci/emuxki.c      Sat Feb 02 18:10:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxki.c,v 1.8 2002/01/27 20:38:07 jdolecek Exp $      */
+/*     $NetBSD: emuxki.c,v 1.9 2002/02/02 18:10:28 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.8 2002/01/27 20:38:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.9 2002/02/02 18:10:28 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -320,7 +320,7 @@
                return (err);
 
        bus_space_write_4(sc->sc_iot, sc->sc_ioh, EMU_HCFG,
-               EMU_HCFG_AUDIOENABLE |
+               EMU_HCFG_AUDIOENABLE | EMU_HCFG_JOYENABLE |
                EMU_HCFG_LOCKTANKCACHE_MASK | EMU_HCFG_AUTOMUTE);
        bus_space_write_4(sc->sc_iot, sc->sc_ioh, EMU_INTE,
                bus_space_read_4(sc->sc_iot, sc->sc_ioh, EMU_INTE) |



Home | Main Index | Thread Index | Old Index