Date: Wed, 24 Apr 2002 08:30:12 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c Message-ID: <200204241530.g3OFUCL52082@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Revision Changes Path 1.84 +18 -12 src/sys/i386/pci/pci_cfgreg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204241530.g3OFUCL52082>