Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/isa Pullup from trunk:



details:   https://anonhg.NetBSD.org/src/rev/94162841f352
branches:  netbsd-1-5
changeset: 488519:94162841f352
user:      is <is%NetBSD.org@localhost>
date:      Fri Jul 14 17:34:01 2000 +0000

description:
Pullup from trunk:
Do a dummy read after writing through the memory access pipeline, to flush
it, before starting the command to install the multicast list.
Without this, the last multicast address installed won't be made active.

diffstat:

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

diffs (25 lines):

diff -r 34f2f7062d49 -r 94162841f352 sys/dev/isa/if_iy.c
--- a/sys/dev/isa/if_iy.c       Fri Jul 14 17:06:45 2000 +0000
+++ b/sys/dev/isa/if_iy.c       Fri Jul 14 17:34:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iy.c,v 1.36.4.2 2000/06/27 21:46:01 thorpej Exp $   */
+/*     $NetBSD: if_iy.c,v 1.36.4.3 2000/07/14 17:34:01 is Exp $        */
 /* #define IYDEBUG */
 /* #define IYMEMDEBUG */
 
@@ -1231,6 +1231,7 @@
        bus_space_handle_t ioh;
        int avail, last /*, end*/ , len;
        int timeout;
+       volatile u_int16_t dum;
        u_int8_t temp;
        
 
@@ -1275,6 +1276,7 @@
 
                ETHER_NEXT_MULTI(step, enm);
        }
+       dum = bus_space_read_2(iot, ioh, MEM_PORT_REG); /* dummy read */
        bus_space_write_2(iot, ioh, XMT_ADDR_REG, last);
        bus_space_write_1(iot, ioh, 0, MC_SETUP_CMD);
        



Home | Main Index | Thread Index | Old Index