From owner-freebsd-stable@FreeBSD.ORG Mon Aug 22 17:38:13 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B85716A41F for ; Mon, 22 Aug 2005 17:38:13 +0000 (GMT) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A04943D48 for ; Mon, 22 Aug 2005 17:38:12 +0000 (GMT) (envelope-from mike@sentex.net) Received: from pumice3.sentex.ca (pumice3.sentex.ca [64.7.153.26]) by smarthost1.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MHcBA5088064 for ; Mon, 22 Aug 2005 13:38:11 -0400 (EDT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by pumice3.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MHcA2s089144; Mon, 22 Aug 2005 13:38:10 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id j7MHc9wn084154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2005 13:38:09 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20050822133653.078a35d8@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Mon, 22 Aug 2005 13:38:03 -0400 To: Colin Farley , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: References: <20050822075409.T71377@shared10.hosting.flyingcroc.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 64.7.153.18 X-Scanned-By: MIMEDefang 2.51 on 64.7.153.26 Cc: Subject: Re: broken fxp driver in 4.x ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 17:38:13 -0000 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