From owner-cvs-all@FreeBSD.ORG Thu Sep 11 00:54:18 2003 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 1A74316A4BF; Thu, 11 Sep 2003 00:54:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9762843F85; Thu, 11 Sep 2003 00:54:17 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8B7sH0U078498; Thu, 11 Sep 2003 00:54:17 -0700 (PDT) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8B7sHWp078497; Thu, 11 Sep 2003 00:54:17 -0700 (PDT) Message-Id: <200309110754.h8B7sHWp078497@repoman.freebsd.org> From: Bill Paul Date: Thu, 11 Sep 2003 00:54:17 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/re if_re.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, 11 Sep 2003 07:54:18 -0000 wpaul 2003/09/11 00:54:17 PDT FreeBSD src repository Modified files: sys/dev/re if_re.c Log: Toggle the interface on and off before starting the diag test. This seems to be necessary for the 8139C+ under certain circumstances, and doesn't appear to hurt the other chips. (In the failure case, the packet would be sent through the TX DMA ring but not get echoed back. I suspect this has something to do with the link state changing unexpectedly.) Revision Changes Path 1.6 +3 -0 src/sys/dev/re/if_re.c