From owner-cvs-all Tue Nov 28 18:13:46 2000 Delivered-To: cvs-all@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-177-187.dsl.snfc21.pacbell.net [63.202.177.187]) by hub.freebsd.org (Postfix) with ESMTP id 2F9E437B400; Tue, 28 Nov 2000 18:13:42 -0800 (PST) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.0/8.11.1) with ESMTP id eAT2KkF27417; Tue, 28 Nov 2000 18:20:47 -0800 (PST) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200011290220.eAT2KkF27417@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Murray Stokely Cc: Warner Losh , Garrett Wollman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/mlx mlx.c mlx_pci.c mlxvar.h In-reply-to: Your message of "Tue, 28 Nov 2000 18:05:33 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Nov 2000 18:20:46 -0800 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, 28 Nov 2000, Warner Losh wrote: > % This precludes a one-to-many mapping. Eg, if I passed -1 twice in a > % row in my prior example, I'd get the first BAR the first time, the > % second BAR the second time, etc. > > I think that this is very desireable functionality, especially since > PCI v2.2 no longer requires the first BAR to be at 0x10, but passing > in (the address of) -1 appears to just cause the allocation to fail. > Is anyone working on implementing this? I'm working on code in this area; what you really want for -1 to do is give you the first resource of type foo that hasn't already been allocated, rather than "the first BAR the first time", etc. If you want to take some of this on, grab me tomorrow and we can talk a bit about what I'm trying to do and where I could *really* use some help. 8) -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message