Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Set initial conditions to guarantee that when rea...



details:   https://anonhg.NetBSD.org/src/rev/38e48c1e78db
branches:  trunk
changeset: 572467:38e48c1e78db
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Jan 04 01:04:52 2005 +0000

description:
Set initial conditions to guarantee that when read_seeprom toggles
Chip Select, it turns *on* rather than *off*.

diffstat:

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

diffs (27 lines):

diff -r e321432e2112 -r 38e48c1e78db sys/dev/ic/rtw.c
--- a/sys/dev/ic/rtw.c  Tue Jan 04 01:00:30 2005 +0000
+++ b/sys/dev/ic/rtw.c  Tue Jan 04 01:04:52 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtw.c,v 1.40 2005/01/04 01:00:30 dyoung Exp $ */
+/* $NetBSD: rtw.c,v 1.41 2005/01/04 01:04:52 dyoung Exp $ */
 /*-
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.40 2005/01/04 01:00:30 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtw.c,v 1.41 2005/01/04 01:04:52 dyoung Exp $");
 
 #include "bpfilter.h"
 
@@ -750,7 +750,7 @@
        }
 
        ecr &= ~(RTW_9346CR_EEDI | RTW_9346CR_EEDO | RTW_9346CR_EESK |
-           RTW_9346CR_EEM_MASK);
+           RTW_9346CR_EEM_MASK | RTW_9346CR_EECS);
        ecr |= RTW_9346CR_EEM_PROGRAM;
 
        RTW_WRITE8(regs, RTW_9346CR, ecr);



Home | Main Index | Thread Index | Old Index