From owner-cvs-all Mon Aug 27 13:29:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7719337B405; Mon, 27 Aug 2001 13:29:09 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7RKT9B60555; Mon, 27 Aug 2001 13:29:09 -0700 (PDT) (envelope-from imp) Message-Id: <200108272029.f7RKT9B60555@freefall.freebsd.org> From: Warner Losh Date: Mon, 27 Aug 2001 13:29:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/isa pci_cfgreg.c X-FreeBSD-CVS-Branch: RELENG_4 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 2001/08/27 13:29:09 PDT Modified files: (Branch: RELENG_4) sys/i386/isa pci_cfgreg.c Log: Look for already routed interrupts first. If we find one report it, but do not try to route it again. Then look for unique ones. Then pick one at "best guess" random. Before we were a) always routing and b) finding the unique one first. This lead to some unfortunate BIOS interactions. With these fixes, I can use my boss' Toshiba Portege 7020CT with all 3C589, Orinoco Gold and ZoomAir 2M cards. Modems still wedge it solid, however, for reasons unknown. Also, introduce PRVERB macro to make this code less chatty easily in the future. Revision Changes Path 1.1.2.4 +37 -24 src/sys/i386/isa/Attic/pci_cfgreg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message