Date: Fri, 14 Jul 2000 08:46:54 -0700 (PDT) From: Archie Cobbs <archie@whistle.com> To: Munehiro Matsuda <haro@tk.kubota.co.jp> Cc: Archie Cobbs <archie@FreeBSD.org>, freebsd-current@FreeBSD.org, freebsd-ports@FreeBSD.org, ak@freenet.co.uk Subject: Re: ether_ifattach() change and VMware Message-ID: <200007141546.IAA10317@bubba.whistle.com> In-Reply-To: <20000714202839P.haro@tk.kubota.co.jp> from Munehiro Matsuda at "Jul 14, 2000 08:28:39 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007141546.IAA10317>