From owner-freebsd-hackers Fri May 19 0:14:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.surf1.de (mail.surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 23D9D37BD8E; Fri, 19 May 2000 00:14:18 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9C112F.dip0.t-ipconnect.de [62.156.17.47]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id JAA23424; Fri, 19 May 2000 09:14:06 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id E0CFEAC2C; Fri, 19 May 2000 09:14:25 +0200 (CEST) Received: (from alex@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id JAA03005; Fri, 19 May 2000 09:14:09 +0200 (CEST) (envelope-from alex) Date: Fri, 19 May 2000 09:14:09 +0200 From: Alexander Langer To: "Matthew N. Dodd" Cc: doc@freebsd.org, hackers@freebsd.org Subject: Re: request for review: bus_alloc_resource(9) Message-ID: <20000519091409.D2729@cichlids.cichlids.com> References: <20000518223846.A16098@cichlids.cichlids.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from winter@jurai.net on Thu, May 18, 2000 at 05:42:43PM -0400 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Matthew N. Dodd (winter@jurai.net): > Think of an 'rid' as in index into an array of like resources. A resource > is just a range; start and length, and a type. The 'rid' has nothing to > do with offsets into a memory/port resource. Ah, yes. That is probably why resource_list_alloc(rl, dev, child, type, rid, ... is called for the pci-version of bus_alloc_resource :-) (sys/pci/pci.c) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message