From owner-freebsd-hackers Thu May 18 14:42:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 49DF537B923; Thu, 18 May 2000 14:42:55 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id RAA45436; Thu, 18 May 2000 17:42:43 -0400 (EDT) Date: Thu, 18 May 2000 17:42:43 -0400 (EDT) From: "Matthew N. Dodd" To: Alexander Langer Cc: doc@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: request for review: bus_alloc_resource(9) In-Reply-To: <20000518223846.A16098@cichlids.cichlids.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 May 2000, Alexander Langer wrote: > I've written bus_alloc_resource(9). > > I need one with _experience_ on newbus to review it. > > http://big.endian.de/FreeBSD/bus_alloc_resource.9 You still don't understand what the 'rid' parameter is. 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. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message