From owner-freebsd-current Sun Apr 14 15:33:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id CC3D137B41A; Sun, 14 Apr 2002 15:33:36 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g3EMXZi28306; Sun, 14 Apr 2002 16:33:35 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g3EMXYc67766; Sun, 14 Apr 2002 16:33:35 -0600 (MDT) (envelope-from imp@village.org) Date: Sun, 14 Apr 2002 16:32:27 -0600 (MDT) Message-Id: <20020414.163227.02957938.imp@village.org> To: leibrand@informatik.tu-muenchen.de Cc: freebsd-current@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Subject: Re: Possible bug in /sys/i386/pci/pci_cfgreg.c From: "M. Warner Losh" In-Reply-To: <20020412.092859.98363104.imp@village.org> References: <20020412.092859.98363104.imp@village.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I talked with klaus via IRC on #newcard on Friday. Turns out that the '0' in question isn't in INTLINE, but rather part of the PIR table listing which interrupts are valid. I have a patch in my local tree that I hope to commit shortly. I thought about fixing the powerof2 macro, but since it was last changed in 1994 (likely earlier than that, since this was in file rev 1.1), I took the cowards way out and just fixed where we used it. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message