From owner-cvs-src@FreeBSD.ORG Sat Jul 26 13:54:59 2003 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 5FA1C37B401; Sat, 26 Jul 2003 13:54:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EED5F43F85; Sat, 26 Jul 2003 13:54:58 -0700 (PDT) (envelope-from jdp@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 h6QKsw0U079228; Sat, 26 Jul 2003 13:54:58 -0700 (PDT) (envelope-from jdp@repoman.freebsd.org) Received: (from jdp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6QKsw2o079227; Sat, 26 Jul 2003 13:54:58 -0700 (PDT) Message-Id: <200307262054.h6QKsw2o079227@repoman.freebsd.org> From: John Polstra Date: Sat, 26 Jul 2003 13:54:58 -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/wi if_wi_pci.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: Sat, 26 Jul 2003 20:54:59 -0000 jdp 2003/07/26 13:54:58 PDT FreeBSD src repository Modified files: sys/dev/wi if_wi_pci.c Log: Fix a couple of bugs in the resume handler. Don't call the if_init function unless the device is configured up. Without this fix, the device ends up in the RUNNING state even though it is configured down. Also, check the RUNNING flag before calling the if_start function, in case the if_init function failed for one reason or another. Revision Changes Path 1.18 +3 -2 src/sys/dev/wi/if_wi_pci.c