From owner-cvs-all@FreeBSD.ORG Sat Aug 21 15:36:31 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 2F01C16A4CE; Sat, 21 Aug 2004 15:36:31 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4EA243D5D; Sat, 21 Aug 2004 15:36:30 +0000 (GMT) (envelope-from des@des.no) Received: from dwp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 8ACBC343D; Sat, 21 Aug 2004 17:37:05 +0200 (MEST) Received: by dwp.des.no (Postfix, from userid 2602) id 40CA5B873; Sat, 21 Aug 2004 17:36:29 +0200 (CEST) To: Nate Lawson References: <200408201652.i7KGqiRb030057@repoman.freebsd.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Sat, 21 Aug 2004 17:36:29 +0200 In-Reply-To: <200408201652.i7KGqiRb030057@repoman.freebsd.org> (Nate Lawson's message of "Fri, 20 Aug 2004 16:52:44 +0000 (UTC)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_resource.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: Sat, 21 Aug 2004 15:36:31 -0000 Nate Lawson writes: > "Loop through all current resources to see if the new one overlaps > any existing ones. If so, the old one always takes precedence and > the new one is adjusted (or rejected). We check for three cases: >=20=20=20 > 1. Tail of new resource overlaps head of old resource: truncate the > new resource so it is contiguous with the start of the old. > 2. New resource wholly contained within the old resource: error. > 3. Head of new resource overlaps tail of old resource: truncate the > new resource so it is contiguous, following the old." What about the fourth case: new resource wholly contains old resource? DES --=20 Dag-Erling Sm=F8rgrav - des@des.no