From owner-freebsd-ports Fri Jul 14 8:47: 4 2000 Delivered-To: freebsd-ports@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 096C637C6C1; Fri, 14 Jul 2000 08:46:59 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id IAA10317; Fri, 14 Jul 2000 08:46:54 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200007141546.IAA10317@bubba.whistle.com> Subject: Re: ether_ifattach() change and VMware In-Reply-To: <20000714202839P.haro@tk.kubota.co.jp> from Munehiro Matsuda at "Jul 14, 2000 08:28:39 pm" To: Munehiro Matsuda Date: Fri, 14 Jul 2000 08:46:54 -0700 (PDT) Cc: Archie Cobbs , freebsd-current@FreeBSD.org, freebsd-ports@FreeBSD.org, ak@freenet.co.uk X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Munehiro Matsuda writes: > :: Make all Ethernet drivers attach using ether_ifattach() and detach using > :: ether_ifdetach(). > > After the commit, VMware seems to hang the system at boot time. > The "vmnet" module, that comes with VMware, needs the included patch. OK, I'm CC:'ing the port maintainer.. > Shouldn't we bump version or something, due to the kernel API change? Good idea.. I just did that. > --- vmnet-only/freebsd/vmnet.c.org Fri Jul 14 16:18:50 2000 > +++ vmnet-only/freebsd/vmnet.c Fri Jul 14 16:21:51 2000 > @@ -156,9 +156,7 @@ > DLog(Linfo, DEVICE_NAME "%d: Ethernet address: %6D", ifp->if_unit, sc->iface.arpcom.ac_enaddr, ":"); > > s = splimp(); > - if_attach(ifp); > - ether_ifattach(ifp); > - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); > + ether_ifattach(ifp, ETHER_BPF_SUPPORTED); > splx(s); > > return 0; -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message