diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-04-18 11:58:35 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-04-18 11:58:35 +0000 |
commit | 33213619b6982ca6bb83829224474849f5fd989a (patch) | |
tree | a96f0c24ce24379c6cbba36927bf8bdeb1e5d3ee /sys/arch/mac68k/dev/if_sn.c | |
parent | 41507d0536c7bedc50e77855f990357acc99c89d (diff) |
Fix from Denny Gentry--initialize receive seq. count and don't skip an entry
when programming the CAM.
Diffstat (limited to 'sys/arch/mac68k/dev/if_sn.c')
-rw-r--r-- | sys/arch/mac68k/dev/if_sn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c index e3034b18763..3bd38797bf8 100644 --- a/sys/arch/mac68k/dev/if_sn.c +++ b/sys/arch/mac68k/dev/if_sn.c @@ -1,5 +1,5 @@ /* $NetBSD: if_sn.c,v 1.7 1997/03/20 17:47:51 scottr Exp $ */ -/* $OpenBSD: if_sn.c,v 1.20 1997/04/13 14:14:51 briggs Exp $ */ +/* $OpenBSD: if_sn.c,v 1.21 1997/04/18 11:58:34 briggs Exp $ */ /* * National Semiconductor SONIC Driver @@ -696,7 +696,6 @@ camprogram(sc) /* Assume we won't need allmulti bit. */ ifp->if_flags &= ~IFF_ALLMULTI; - mcount++; /* Loop through multicast addresses */ ETHER_FIRST_MULTI(step, &sc->sc_arpcom, enm); while (enm != NULL) { @@ -840,6 +839,7 @@ initialise_rra(sc) /* rea must point just past the end of the rra space */ NIC_PUT(sc, SNR_REA, LOWER(sc->v_rea)); NIC_PUT(sc, SNR_RRP, LOWER(sc->v_rra[0])); + NIC_PUT(sc, SNR_RSC, 0); /* fill up SOME of the rra with buffers */ for (i = 0; i < NRBA; i++) { |