diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-11-13 09:37:46 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-11-13 09:37:46 +0000 |
| commit | 5ab6a8555e7ebbda4a08a2fd3bf2de83b779cbe7 (patch) | |
| tree | 234f903bf51307d13b6f24ef913835dd5bee1505 /sys | |
| parent | 56aafbe295b5aea5b2967dae2c007851a0ca6b99 (diff) | |
Fix one last bug in the multicast filter calculation.
sdr and vic work now, at least.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/isa/cs89x0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/cs89x0.c b/sys/dev/isa/cs89x0.c index 65508899d9c..2df1214a610 100644 --- a/sys/dev/isa/cs89x0.c +++ b/sys/dev/isa/cs89x0.c @@ -1,4 +1,4 @@ -/* $NetBSD: cs89x0.c,v 1.6 1998/11/12 13:03:51 mycroft Exp $ */ +/* $NetBSD: cs89x0.c,v 1.7 1998/11/13 09:37:46 mycroft Exp $ */ /* * Copyright 1997 @@ -1065,7 +1065,7 @@ cs_set_ladr_filt(sc, ec) /* Set the bit the Logical address filter. */ port = (u_int16_t) (index >> 4); - mask = (u_int16_t) (1 << (15 - (index & 0xf))); + mask = (u_int16_t) (1 << (index & 0xf)); af[port] |= mask; ETHER_NEXT_MULTI(step, enm); |
