From owner-freebsd-questions Thu May 25 13:08:24 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA08965 for questions-outgoing; Thu, 25 May 1995 13:08:24 -0700 Received: from plains.nodak.edu (tinguely@plains.NoDak.edu [134.129.111.64]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA08956 for ; Thu, 25 May 1995 13:08:21 -0700 Received: (from tinguely@localhost) by plains.nodak.edu (8.6.11/8.6.10) id PAA28848; Thu, 25 May 1995 15:08:05 -0500 Date: Thu, 25 May 1995 15:08:05 -0500 From: Mark Tinguely Message-Id: <199505252008.PAA28848@plains.nodak.edu> To: albright@cisco.com Subject: Re: multicasts Cc: albrightson@cisco.com, freebsd-questions@FreeBSD.org Content-Length: 2644 Sender: questions-owner@FreeBSD.org Precedence: bulk > > what ethernet card do you have? The 3Com 3C509 did not support multicast > > at that release, but a patch has been ported recently. We use SMC 80x3 > > with multicast at 2.0-950210 and beyond snapshots. > > I indeed have a 3C509. Where do I get the patch? Does the patch work > with 2.0-950322? If not what snapshot should I install? mail forwarded from freebsd-bugs: Date: Thu, 11 May 1995 14:10:02 -0700 Message-Id: <199505112110.OAA13821@freefall.cdrom.com> From: widmer@cisco.com Reply-To: widmer@cisco.com To: freebsd-bugs@freefall.cdrom.com Subject: i386/394: ip multicast in ep driver In-Reply-To: Your message of Thu, 11 May 1995 14:04:09 -0700 <199505112104.OAA00764@lazy8.cisco.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk Content-Type: text Content-Length: 1819 Status: RO >Number: 394 >Category: i386 >Synopsis: IP multicast not supported by ep driver >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 11 14:10:01 1995 >Originator: Rob Widmer >Organization: Cisco Systems, Inc. >Release: FreeBSD 2.0-RELEASE i386 >Environment: PC with 3Com 3c509 Combo >Description: ep driver for 3c509 doesn't support IP multicast >How-To-Repeat: Try running sd using 3c509 gives error message IP_ADD_MEMBERSHIP: Can't assign requested address >Fix: The following diff to /usr/src/sys/i386/isa/if_ep.c *** 559,564 **** --- 559,565 ---- ifp->if_name = "ep"; ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS; + ifp->if_flags |= IFF_MULTICAST; ifp->if_init = epinit; ifp->if_output = ether_output; ifp->if_start = epstart; *************** *** 1336,1341 **** --- 1337,1363 ---- ifp->if_mtu = ifr->ifr_mtu; } break; + + case SIOCADDMULTI: + case SIOCDELMULTI: + /* + * Update our multicast listeners + */ + if (cmd == SIOCADDMULTI) { + ether_addmulti(ifr, &sc->arpcom); + } else { + ether_delmulti(ifr, &sc->arpcom); + } + + if (error == ENETRESET) { + /* + * Multicast list has changed; set the + * hardware filter accordingly + */ + epreset(ifp->if_unit); + error = 0; + } + break; default: error = EINVAL; >Audit-Trail: >Unformatted: