Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia Extra wait at WI_CMD_INI is needed for some P...



details:   https://anonhg.NetBSD.org/src/rev/130a9891d488
branches:  trunk
changeset: 504516:130a9891d488
user:      onoe <onoe%NetBSD.org@localhost>
date:      Sun Mar 04 11:18:51 2001 +0000

description:
Extra wait at WI_CMD_INI is needed for some PRISM-II based cards.
(ex. ELECOM, AIr@Hawk/LD-WL11/PCC)

diffstat:

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

diffs (18 lines):

diff -r 0becac79b333 -r 130a9891d488 sys/dev/pcmcia/if_wi.c
--- a/sys/dev/pcmcia/if_wi.c    Sun Mar 04 10:14:55 2001 +0000
+++ b/sys/dev/pcmcia/if_wi.c    Sun Mar 04 11:18:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wi.c,v 1.56 2001/02/11 03:29:59 ichiro Exp $        */
+/*     $NetBSD: if_wi.c,v 1.57 2001/03/04 11:18:51 onoe Exp $  */
 
 /*
  * Copyright (c) 1997, 1998, 1999
@@ -826,6 +826,8 @@
                                return(EIO);
                        break;
                }
+               if (cmd == WI_CMD_INI)
+                       DELAY(100);
        }
 
        if (i == WI_TIMEOUT)



Home | Main Index | Thread Index | Old Index