From owner-cvs-all@FreeBSD.ORG Mon Jan 12 17:12:30 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 3E84116A4CE; Mon, 12 Jan 2004 17:12:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC8343D49; Mon, 12 Jan 2004 17:12:28 -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 i0D1CS0B042283; Mon, 12 Jan 2004 17:12:28 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0D1CSQ0042282; Mon, 12 Jan 2004 17:12:28 -0800 (PST) (envelope-from wpaul) Message-Id: <200401130112.i0D1CSQ0042282@repoman.freebsd.org> From: Bill Paul Date: Mon, 12 Jan 2004 17:12:28 -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/compat/ndis subr_ndis.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, 13 Jan 2004 01:12:30 -0000 wpaul 2004/01/12 17:12:28 PST FreeBSD src repository Modified files: sys/compat/ndis subr_ndis.c Log: Loosen up the range test in ndis_register_ioport(). Allow drivers to map ranges that are smaller than what our resource manager code knows is available, rather than requiring that they match exactly. This fixes a problem with the Intel PRO/1000 gigE driver: it wants to map a range of 32 I/O ports, even though some chips appear set up to decode a range of 64. With this fix, it loads and runs correctly. Revision Changes Path 1.34 +2 -1 src/sys/compat/ndis/subr_ndis.c