Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2000 18:20:46 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Murray Stokely <murray@osd.bsdi.com>
Cc:        Warner Losh <imp@village.org>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/mlx mlx.c mlx_pci.c mlxvar.h 
Message-ID:  <200011290220.eAT2KkF27417@mass.osd.bsdi.com>
In-Reply-To: Your message of "Tue, 28 Nov 2000 18:05:33 PST." <Pine.BSF.4.21.0011281801380.709-100000@pike.osd.bsdi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011290220.eAT2KkF27417>