Date: Thu, 13 Jul 2000 15:54:35 -0700 (PDT)
From: Archie Cobbs <[EMAIL PROTECTED]>
::
::archie      2000/07/13 15:54:35 PDT
::
::  Modified files:
<snip>
::  Log:
::  Make all Ethernet drivers attach using ether_ifattach() and detach using
::  ether_ifdetach().
::  
::  The former consolidates the operations of if_attach(), ng_ether_attach(),
::  and bpfattach(). The latter consolidates the corresponding detach operations.
::  
::  Reviewed by:        julian, freebsd-net

Hello,

After the commit, VMware seems to hang the system at boot time.
The "vmnet" module, that comes with VMware, needs the included patch.

Shouldn't we bump version or something, due to the kernel API change?

---8<------8<------8<-- patch for VMware --8<------8<------8<------8<---
--- 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;
---8<------8<------8<------8<------8<------8<------8<------8<------8<---

Thank you,
  Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Business Incubation Dept., Kubota Corp.
 /|\ |_|  |_|_|   1-3 Nihonbashi-Muromachi 3-Chome
                  Chuo-ku Tokyo 103-8310, Japan
                  Tel: +81-3-3245-3318  Fax: +81-3-3245-3315
                  Email: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to