From owner-freebsd-arch@FreeBSD.ORG Wed May 12 06:27:06 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 671F516A4CE; Wed, 12 May 2004 06:27:06 -0700 (PDT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAD0F43D55; Wed, 12 May 2004 06:27:05 -0700 (PDT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id A401E530D; Wed, 12 May 2004 15:27:04 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id C3E6D5309; Wed, 12 May 2004 15:26:57 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 6967833CAA; Wed, 12 May 2004 15:26:57 +0200 (CEST) To: arch@freebsd.org References: <20040512010240.GD601@funkthat.com> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Wed, 12 May 2004 15:26:57 +0200 In-Reply-To: <20040512010240.GD601@funkthat.com> (John-Mark Gurney's message of "Tue, 11 May 2004 18:02:40 -0700") 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 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: dfr@freebsd.org Subject: Re: newbus flaw X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 13:27:06 -0000 John-Mark Gurney writes: > You are incorrect in assuming you can't find out if another child already > exists.. Usually this is a problem of properly allocating resources so > that you know the other child exists. Since you are using identify, you > already don't have a "self describing" bus, which means that you have > to either use hints, or another method to make sure that your device > doesn't already exist. It's not quite that simple. See the block comment at the top of src/sys/dev/ichwd/ichwd.c for an explanation. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no