From owner-cvs-all Wed Apr 24 10:31: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 8318137B419 for ; Wed, 24 Apr 2002 10:30:49 -0700 (PDT) Received: (qmail 12860 invoked from network); 24 Apr 2002 17:30:47 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Apr 2002 17:30:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3OHUlv07379; Wed, 24 Apr 2002 13:30:47 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200204241530.g3OFUCL52082@freefall.freebsd.org> Date: Wed, 24 Apr 2002 13:29:55 -0400 (EDT) From: John Baldwin To: Warner Losh Subject: RE: cvs commit: src/sys/i386/pci pci_cfgreg.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 On 24-Apr-2002 Warner Losh wrote: > imp 2002/04/24 08:30:12 PDT > > Modified files: > sys/i386/pci pci_cfgreg.c > Log: > o Work around bugs in the powerof2 macro: It thinks that 0 is a power of > 2, but that's not the case. This fixes the case where there were slots > in the PIR table that had no bits set, but we assumed they did and used > strange results as a result. > o Map invalid INTLINE registers to 255 in pci_cfgreg.c. This should allow > us to remove the bogus checks in MI code for non-255 values. > > I put these changes out for review a while ago, but no one responded > to them, so into current they go. > > This should help us work better on machines that don't route > interrupts in the traditional way. > > MFC After: 4286 millifortnights 2 months? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message