Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Properly initialize sc->sc_bustag and sc->sc_dm...



details:   https://anonhg.NetBSD.org/src/rev/302d83a166d5
branches:  trunk
changeset: 514878:302d83a166d5
user:      eeh <eeh%NetBSD.org@localhost>
date:      Wed Sep 12 20:09:53 2001 +0000

description:
Properly initialize sc->sc_bustag and sc->sc_dmatag;

diffstat:

 sys/dev/sbus/qe.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 42b962dbc1e3 -r 302d83a166d5 sys/dev/sbus/qe.c
--- a/sys/dev/sbus/qe.c Wed Sep 12 19:35:35 2001 +0000
+++ b/sys/dev/sbus/qe.c Wed Sep 12 20:09:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */
+/*     $NetBSD: qe.c,v 1.17 2001/09/12 20:09:53 eeh Exp $      */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -242,6 +242,8 @@
        sc->sc_rev = getpropint(node, "mace-version", -1);
        printf(" rev %x", sc->sc_rev);
 
+       sc->sc_bustag = sa->sa_bustag;
+       sc->sc_dmatag = sa->sa_dmatag;
        sc->sc_qec = qec;
        sc->sc_qr = qec->sc_regs;
 



Home | Main Index | Thread Index | Old Index