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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to