From owner-cvs-src@FreeBSD.ORG Thu Sep 4 20:08:10 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 CD9A216A4BF; Thu, 4 Sep 2003 20:08:10 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5865343FF9; Thu, 4 Sep 2003 20:08:09 -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 h853890U073219; Thu, 4 Sep 2003 20:08:09 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h853881Z073218; Thu, 4 Sep 2003 20:08:08 -0700 (PDT) Message-Id: <200309050308.h853881Z073218@repoman.freebsd.org> From: Warner Losh Date: Thu, 4 Sep 2003 20:08:08 -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/pccard pccard.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: Fri, 05 Sep 2003 03:08:10 -0000 imp 2003/09/04 20:08:08 PDT FreeBSD src repository Modified files: sys/dev/pccard pccard.c Log: Whacked out CIS configurations can cause us to not have any child. When such a card is ejected, we'd panic. Instead, just ignore it. I should also add a sanity check in the FUNCID code as well, but this isn't wrong since the check is cheap and happens infrequently. Revision Changes Path 1.84 +4 -2 src/sys/dev/pccard/pccard.c