diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-01-09 21:46:57 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-01-09 21:46:57 +0000 |
commit | 4cad5147b15ef4fab5047e0ade45b8f863df28d9 (patch) | |
tree | 58fba8dfff24ec38834ae734a6e9fdfdbf93ebb9 | |
parent | b580916aac014e9c1f019a741a68ad22cffd969c (diff) |
From dyoung@NetBSD rev 1.41:
Set initial conditions to guarantee that when read_seeprom toggles
Chip Select, it turns *on* rather than *off*.
-rw-r--r-- | sys/dev/ic/rtw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index ecb32fd54eb..f5f4340e025 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.4 2005/01/09 21:39:04 jsg Exp $ */ +/* $OpenBSD: rtw.c,v 1.5 2005/01/09 21:46:56 jsg Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- * Copyright (c) 2004, 2005 David Young. All rights reserved. @@ -740,7 +740,7 @@ rtw_srom_read(struct rtw_regs *regs, u_int32_t flags, struct rtw_srom *sr, } 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); |