From owner-cvs-src@FreeBSD.ORG Thu Mar 3 00:22:59 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD2816A4CE; Thu, 3 Mar 2005 00:22:59 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81AEE43D48; Thu, 3 Mar 2005 00:22:59 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j230Mx24018565; Thu, 3 Mar 2005 00:22:59 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j230Mxj6018564; Thu, 3 Mar 2005 00:22:59 GMT (envelope-from mux) Message-Id: <200503030022.j230Mxj6018564@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 3 Mar 2005 00:22:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 00:22:59 -0000 mux 2005-03-03 00:22:59 UTC FreeBSD src repository Modified files: sys/dev/fxp if_fxp.c Log: Fix the panic recently reported on -current@ occuring when configuring a vlan interface attached to a fxp(4) card when it has not been initialized yet. We now set the links from our internel TX descriptor structure to the TX command blocks at attach time rather than at init time. While I'm here, slightly improve the style in fxp_attach(). PR: kern/78112 Reported by: Gavin Atkinson and others Tested by: flz, Gavin Atkinson MFC after: 1 week Revision Changes Path 1.225 +13 -8 src/sys/dev/fxp/if_fxp.c