Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh5/dev Set SMC_FLAGS_32BIT_READ flag before cal...



details:   https://anonhg.NetBSD.org/src/rev/8a53504ab9ee
branches:  trunk
changeset: 536024:8a53504ab9ee
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Sep 04 14:55:42 2002 +0000

description:
Set SMC_FLAGS_32BIT_READ flag before calling the MI code.

diffstat:

 sys/arch/evbsh5/dev/if_sm_superio.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 83159411c4a4 -r 8a53504ab9ee sys/arch/evbsh5/dev/if_sm_superio.c
--- a/sys/arch/evbsh5/dev/if_sm_superio.c       Wed Sep 04 14:54:37 2002 +0000
+++ b/sys/arch/evbsh5/dev/if_sm_superio.c       Wed Sep 04 14:55:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sm_superio.c,v 1.2 2002/08/30 10:57:06 scw Exp $    */
+/*     $NetBSD: if_sm_superio.c,v 1.3 2002/09/04 14:55:42 scw Exp $    */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sm_superio.c,v 1.2 2002/08/30 10:57:06 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sm_superio.c,v 1.3 2002/09/04 14:55:42 scw Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -167,6 +167,9 @@
        /* should always be enabled */
        sc->sc_flags |= SMC_FLAGS_ENABLED;
 
+       /* read accesses are always 32-bits wide on Cayman ... */
+       sc->sc_flags |= SMC_FLAGS_32BIT_READ;
+
        /* The PHY does not need to be isolated */
        sc->sc_mii.mii_flags |= MIIF_NOISOLATE;
 



Home | Main Index | Thread Index | Old Index