Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Add patch from PR/11805
details: https://anonhg.NetBSD.org/src/rev/61433030c041
branches: trunk
changeset: 749367:61433030c041
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Nov 27 20:56:28 2009 +0000
description:
Add patch from PR/11805
diffstat:
sys/dev/isa/if_ntwoc_isa.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 9e1940b730e7 -r 61433030c041 sys/dev/isa/if_ntwoc_isa.c
--- a/sys/dev/isa/if_ntwoc_isa.c Fri Nov 27 20:32:10 2009 +0000
+++ b/sys/dev/isa/if_ntwoc_isa.c Fri Nov 27 20:56:28 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ntwoc_isa.c,v 1.21 2009/05/12 09:10:15 cegger Exp $ */
+/* $NetBSD: if_ntwoc_isa.c,v 1.22 2009/11/27 20:56:28 dsl Exp $ */
/*
* Copyright (c) 1999 Christian E. Hopps
* Copyright (c) 1996 John Hay.
@@ -29,11 +29,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ntwoc_isa.c,v 1.21 2009/05/12 09:10:15 cegger Exp $
+ * $Id: if_ntwoc_isa.c,v 1.22 2009/11/27 20:56:28 dsl Exp $
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ntwoc_isa.c,v 1.21 2009/05/12 09:10:15 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ntwoc_isa.c,v 1.22 2009/11/27 20:56:28 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -705,6 +705,9 @@
mcr = bus_space_read_1(sc->sc_sca.sc_iot, sc->sc_sca.sc_ioh, NTWOC_MCR);
mcr |= (NTWOC_MCR_DTR0 | NTWOC_MCR_DTR1);
bus_space_write_1(sc->sc_sca.sc_iot, sc->sc_sca.sc_ioh, NTWOC_MCR, mcr);
+
+ /* turn off the card */
+ bus_space_write_1(sc->sc_sca.sc_iot, sc->sc_sca.sc_ioh, NTWOC_PCR, 0);
}
static void
Home |
Main Index |
Thread Index |
Old Index