Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/isa Pull up revision 1.40 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/4849fdca7c30
branches:  netbsd-1-4
changeset: 470790:4849fdca7c30
user:      he <he%NetBSD.org@localhost>
date:      Sun Jul 23 16:23:19 2000 +0000

description:
Pull up revision 1.40 (requested by is):
  Flush memory pipeline before installing the multicast list.
  Fixes a problem causing a random address to be installed as
  the last one in the multicast filter list.

diffstat:

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

diffs (25 lines):

diff -r 2fb48c62fb1c -r 4849fdca7c30 sys/dev/isa/if_iy.c
--- a/sys/dev/isa/if_iy.c       Sun Jul 23 16:18:51 2000 +0000
+++ b/sys/dev/isa/if_iy.c       Sun Jul 23 16:23:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iy.c,v 1.33 1999/03/25 23:21:38 thorpej Exp $       */
+/*     $NetBSD: if_iy.c,v 1.33.2.1 2000/07/23 16:23:19 he Exp $        */
 /* #define IYDEBUG */
 /* #define IYMEMDEBUG */
 
@@ -1234,6 +1234,7 @@
        bus_space_handle_t ioh;
        int avail, last /*, end*/ , len;
        int timeout;
+       volatile u_int16_t dum;
        u_int8_t temp;
        
 
@@ -1276,6 +1277,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