Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add one more delay() to sip_read_eeprom().



details:   https://anonhg.NetBSD.org/src/rev/2586f4bbd2b0
branches:  trunk
changeset: 495756:2586f4bbd2b0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Aug 04 09:30:56 2000 +0000

description:
Add one more delay() to sip_read_eeprom().

diffstat:

 sys/dev/pci/if_sip.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b5a37507dbb7 -r 2586f4bbd2b0 sys/dev/pci/if_sip.c
--- a/sys/dev/pci/if_sip.c      Fri Aug 04 09:20:21 2000 +0000
+++ b/sys/dev/pci/if_sip.c      Fri Aug 04 09:30:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sip.c,v 1.12 2000/06/28 16:08:45 mrg Exp $  */
+/*     $NetBSD: if_sip.c,v 1.13 2000/08/04 09:30:56 tsutsui Exp $      */
 
 /*-
  * Copyright (c) 1999 Network Computer, Inc.
@@ -1691,6 +1691,7 @@
                        if (bus_space_read_4(st, sh, SIP_EROMAR) & EROMAR_EEDO)
                                data[i] |= (1 << (x - 1));
                        bus_space_write_4(st, sh, SIP_EROMAR, reg);
+                       delay(4);
                }
 
                /* Clear CHIP SELECT. */



Home | Main Index | Thread Index | Old Index