From owner-cvs-all@FreeBSD.ORG Thu Mar 10 18:23:16 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E39716A4CE; Thu, 10 Mar 2005 18:23:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3601043D5C; Thu, 10 Mar 2005 18:23:16 +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 j2AINGYG012143; Thu, 10 Mar 2005 18:23:16 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2AING7I012142; Thu, 10 Mar 2005 18:23:16 GMT (envelope-from mux) Message-Id: <200503101823.j2AING7I012142@repoman.freebsd.org> From: Maxime Henrion Date: Thu, 10 Mar 2005 18:23:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/fxp if_fxp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2005 18:23:16 -0000 mux 2005-03-10 18:23:16 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/fxp if_fxp.c Log: MFC if_fxp.c revision 1.225: date: 2005/03/03 00:22:59; author: mux; state: Exp; lines: +13 -8 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 Approved by: re@ (kensmith) Revision Changes Path 1.217.2.7 +13 -8 src/sys/dev/fxp/if_fxp.c