Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 13:38:03 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Colin Farley <Colin.Farley@ecarecenters.com>, freebsd-stable@freebsd.org
Subject:   Re: broken fxp driver in 4.x ...
Message-ID:  <6.2.3.4.0.20050822133653.078a35d8@64.7.153.2>
In-Reply-To: <OFD6911FB5.E34DDCF1-ON86257065.005CD522-86257065.005D12E3@ ecarecenters.com>
References:  <20050822075409.T71377@shared10.hosting.flyingcroc.net> <OFD6911FB5.E34DDCF1-ON86257065.005CD522-86257065.005D12E3@ecarecenters.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:56 PM 22/08/2005, Colin Farley wrote:
>I have made this change on the switch my virtual machines are connected to.
>We use HP PorCurve switches, unfortunately the switch needs to be rebooted
>for the change to take effect, I will have to do this late tonight.  I will
>let you know the outcome.

For the em(4) driver, I used the patch developed by ru@freebsd.org below.

%%%
Index: if_em.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/em/if_em.c,v
retrieving revision 1.62
diff -u -p -r1.62 if_em.c
--- if_em.c     5 Mar 2005 18:30:10 -0000       1.62
+++ if_em.c     31 Mar 2005 07:41:47 -0000
@@ -832,12 +832,14 @@ em_init_locked(struct adapter * adapter)
          bcopy(adapter->interface_data.ac_enaddr, adapter->hw.mac_addr,
                ETHER_ADDR_LEN);

+#if 0
         /* Initialize the hardware */
         if (em_hardware_init(adapter)) {
                 printf("em%d: Unable to initialize the hardware\n",
                        adapter->unit);
                 return;
         }
+#endif

         if (ifp->if_capenable & IFCAP_VLAN_HWTAGGING)
                 em_enable_vlans(adapter);
%%%

With the patch, the interface does not reset every time you add or 
remove an alias.

He asked a while ago the Intel guy why they were doing this extra 
reset but never got a response.


         ---Mike 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.0.20050822133653.078a35d8>