From owner-cvs-all@FreeBSD.ORG Sat Aug 9 19:40:50 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 692FA37B401; Sat, 9 Aug 2003 19:40:50 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1772243FB1; Sat, 9 Aug 2003 19:40:50 -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 h7A2en0U075041; Sat, 9 Aug 2003 19:40:49 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7A2enM1075040; Sat, 9 Aug 2003 19:40:49 -0700 (PDT) Message-Id: <200308100240.h7A2enM1075040@repoman.freebsd.org> From: Warner Losh Date: Sat, 9 Aug 2003 19:40:49 -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/pccbb pccbb.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: Sun, 10 Aug 2003 02:40:51 -0000 imp 2003/08/09 19:40:49 PDT FreeBSD src repository Modified files: sys/dev/pccbb pccbb.c Log: Some bridges, like o2 micro and maybe ricoh, have some issues between the time the card is inserted and the time that the card is configured. This can lead to interrupt storms. The O2Micro suggested workaround is to route the card function interrupt to IRQ1. It appears from my testing that this is an acceptable workaround for most chipsets (there's still some issue with the ricoh chipset). Also, only look at the NOT_A_CARD bit when the bridge tells us there's a card present. At least one test caused this to be true after the card was removed, but the author couldn't recreate it with the workaround in place. The change is more conservative than the previous code, but still has the work around that wasn't present in the older code. Revision Changes Path 1.86 +47 -10 src/sys/dev/pccbb/pccbb.c