From owner-cvs-src-old@FreeBSD.ORG Mon Sep 21 20:16:21 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A9710656C0 for ; Mon, 21 Sep 2009 20:16:21 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 60E1E8FC1C for ; Mon, 21 Sep 2009 20:16:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8LKGLMh008308 for ; Mon, 21 Sep 2009 20:16:21 GMT (envelope-from gallatin@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8LKGL60008307 for cvs-src-old@freebsd.org; Mon, 21 Sep 2009 20:16:21 GMT (envelope-from gallatin@repoman.freebsd.org) Message-Id: <200909212016.n8LKGL60008307@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gallatin@repoman.freebsd.org using -f From: Andrew Gallatin Date: Mon, 21 Sep 2009 20:16:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mxge if_mxge.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2009 20:16:21 -0000 gallatin 2009-09-21 20:16:10 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: SVN rev 197395 on 2009-09-21 20:16:10Z by gallatin Improve mxge watchdog routine's ability to reliably reset a failed NIC: - Mark the link as down, so if watchdog reset fails, link watching failover software can notice it - Don't send MXGEFW_CMD_ETHERNET_DOWN if the NIC has been reset, it is not needed, and will fail on a freshly reset NIC. - Ensure the transmit routines aren't attempting to PIO write to doorbells while the NIC is being reset. - Download the correct f/w, rather than using the EEPROM f/w after reset. - Export a count of the number of watchdog resets via sysctl - Zero all f/w stats at reset. This will lead to less confusing diagnostic output when investigating NIC failures. MFC after: 3 days Revision Changes Path 1.66 +72 -27 src/sys/dev/mxge/if_mxge.c