From owner-cvs-all@FreeBSD.ORG Tue Mar 9 10:39:41 2004 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 21D5C16A4CE; Tue, 9 Mar 2004 10:39:41 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0491B43D48; Tue, 9 Mar 2004 10:39:41 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i29IdeGe071136; Tue, 9 Mar 2004 10:39:40 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i29IdeLe071135; Tue, 9 Mar 2004 10:39:40 -0800 (PST) (envelope-from wpaul) Message-Id: <200403091839.i29IdeLe071135@repoman.freebsd.org> From: Bill Paul Date: Tue, 9 Mar 2004 10:39:40 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/if_ndis if_ndis_pci.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: Tue, 09 Mar 2004 18:39:41 -0000 wpaul 2004/03/09 10:39:40 PST FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis_pci.c Log: If the resource listing obtained from BUS_GET_RESOURCE_LIST() in ndis_probe_pci() doesn't contain an entry for an IRQ resource, try to force one to be routed to us anyway by adding an extra call to bus_alloc_resource(). If this fails, then we have to abort the attach. Patch provided by jhb, tweaked by me. Revision Changes Path 1.2 +20 -0 src/sys/dev/if_ndis/if_ndis_pci.c