From owner-cvs-all@FreeBSD.ORG Mon Apr 21 11:34:05 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 E806637B40D; Mon, 21 Apr 2003 11:34:05 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91D5043FBD; Mon, 21 Apr 2003 11:34:05 -0700 (PDT) (envelope-from imp@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 h3LIY50U094081; Mon, 21 Apr 2003 11:34:05 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3LIY5ev094078; Mon, 21 Apr 2003 11:34:05 -0700 (PDT) Message-Id: <200304211834.h3LIY5ev094078@repoman.freebsd.org> From: Warner Losh Date: Mon, 21 Apr 2003 11:34:05 -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/pci if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.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: Mon, 21 Apr 2003 18:34:06 -0000 imp 2003/04/21 11:34:05 PDT FreeBSD src repository Modified files: sys/pci if_dc.c if_pcn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.c Log: Use newly minted device_is_attached rather than device_is_alive to see if attach succeeded. device_is_alive just tells us that probe succeeded. Since we were using it to do things like detach net interfaces, this caused problems when there were errors in the attach routine. Symptoms of problem reported by: martin blapp Revision Changes Path 1.105 +1 -1 src/sys/pci/if_dc.c 1.45 +1 -1 src/sys/pci/if_pcn.c 1.98 +1 -1 src/sys/pci/if_rl.c 1.56 +1 -1 src/sys/pci/if_sf.c 1.74 +1 -1 src/sys/pci/if_sis.c 1.61 +1 -1 src/sys/pci/if_sk.c 1.52 +1 -1 src/sys/pci/if_ste.c 1.78 +1 -1 src/sys/pci/if_ti.c 1.83 +1 -1 src/sys/pci/if_tl.c 1.71 +1 -1 src/sys/pci/if_vr.c 1.60 +1 -1 src/sys/pci/if_wb.c 1.143 +1 -1 src/sys/pci/if_xl.c