From owner-cvs-all Fri Aug 9 23:37:37 2002 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 A310337B400; Fri, 9 Aug 2002 23:37:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5724E43E7B; Fri, 9 Aug 2002 23:37:33 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7A6bXJU064587; Fri, 9 Aug 2002 23:37:33 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7A6bXx8064586; Fri, 9 Aug 2002 23:37:33 -0700 (PDT) Message-Id: <200208100637.g7A6bXx8064586@freefall.freebsd.org> From: Warner Losh Date: Fri, 9 Aug 2002 23:37:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccbb pccbb.c pccbbvar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/08/09 23:37:33 PDT Modified files: sys/dev/pccbb pccbb.c pccbbvar.h Log: When we allocate our bus address via the kludge that we have in the code to do it when the bios doesn't do it for us, flag it. Then, when we dealloc, do an equal kludge to get rid of the address. This should address the can't get IRQ and panic bug in a more graceful way. # really should write a dealloc routine and just call it instead, since # this might not fix things in the kldunload case. Revision Changes Path 1.52 +19 -13 src/sys/dev/pccbb/pccbb.c 1.13 +4 -3 src/sys/dev/pccbb/pccbbvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message