From owner-freebsd-current@FreeBSD.ORG Tue Jan 20 06:17:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CD3616A4CE for ; Tue, 20 Jan 2004 06:17:17 -0800 (PST) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B58843D5F for ; Tue, 20 Jan 2004 06:17:10 -0800 (PST) (envelope-from is@rambler-co.ru) Received: from is (is.park.rambler.ru [81.19.64.102]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id i0KEH3AY034283; Tue, 20 Jan 2004 17:17:03 +0300 (MSK) (envelope-from is@rambler-co.ru) Date: Tue, 20 Jan 2004 17:17:03 +0300 (MSK) From: Igor Sysoev X-Sender: is@is To: Hendrik Scholz In-Reply-To: <20040119122417.69b2fa94@goanna.raisdorf.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: Andreas Moeller Subject: Re: fxp(4) TCP checksum offloading X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 14:17:17 -0000 On Mon, 19 Jan 2004, Hendrik Scholz wrote: > fxp1: port 0x8440-0x847f mem > 0xfc320000-0xfc33ffff,0xfc362000-0xfc362fff irq 23 at device 5.0 on pci4 > > [0.08] root@cave:~ > ifconfig fxp1 link0 > [0.07] root@cave:~ > ifconfig fxp1 > fxp1: flags=9802 mtu 1500 > options=3 > ether 00:02:b3:b0:60:8c > media: Ethernet autoselect (none) > status: no carrier > [0.07] root@cave:~ > ifconfig fxp1 -link0 > [0.06] root@cave:~ > ifconfig fxp1 > fxp1: flags=8802 mtu 1500 > options=3 > ether 00:02:b3:b0:60:8c > media: Ethernet autoselect (none) > status: no carrier > [0.06] root@cave:~ > > > Any ideas? (Is there a way to unload the microcode again besides > > rebooting the system?) > > $ ifconfig fxp0 -link0 As far as I understand the sources, -link0 only resets the interface flag but does nothing to unload the microcode. To disable the microcode you need to reset fxp, i.e. you have to shutdown interface and then up it again. Igor Sysoev http://sysoev.ru/en/