Subject: ti driver local modification
To: None <current-users@netbsd.org>
From: Keijiro Ehara <popo@sfc.wide.ad.jp>
List: current-users
Date: 09/24/2000 14:16:54
Hi.
I'm using a Netgear GA620 Gigabit Ethernet pci card, and my netbsd
coundn't get multicast frames from this interface. So i made a little
modification to dev/pci/if_ti.c. Should i do send-pr?
Keijiro Ehara
Index: if_ti.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/if_ti.c,v
retrieving revision 1.8
diff -c -r1.8 if_ti.c
*** if_ti.c 2000/03/30 12:45:35 1.8
--- if_ti.c 2000/09/24 05:11:59
***************
*** 2568,2573 ****
--- 2568,2578 ----
break;
case SIOCADDMULTI:
case SIOCDELMULTI:
+ if (command == SIOCADDMULTI)
+ ether_addmulti(ifr, &sc->ethercom);
+ else
+ ether_delmulti(ifr, &sc->ethercom);
+
if (ifp->if_flags & IFF_RUNNING) {
ti_setmulti(sc);
error = 0;