broken fxp driver in 4.x ...
Mike Tancsa
mike at sentex.net
Mon Aug 22 17:38:13 GMT 2005
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 at 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
More information about the freebsd-stable
mailing list