Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 1997 13:20:55 +1000
From:      Mike Smith <mike@smith.net.au>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        Mike Smith <mike@smith.net.au>, Luigi Rizzo <luigi@labinfo.iet.unipi.it>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: PnP support 
Message-ID:  <199709120320.NAA00944@word.smith.net.au>
In-Reply-To: Your message of "Thu, 11 Sep 1997 05:04:07 MST." <19970911050407.06011@hydrogen.nike.efn.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > This is why I exhorted you to look at the extent manager in NetBSD.  It 
> > allows you to define "extents" which are just arbitrary ranges of 
> > "something".  I would visualise this being used as follows :
...
> hehe...  I was just thinking about this.. and writing a spec that was
> very similar to this.. but I was also trying to extend the spec to
> support the removal of resources (i.e. pccard gets removed)...

You *really*really* should look at the NetBSD extent manager.  It 
already allows for creation and deletion of extents, and basically all 
the minimal stuff you expect.

> > I don't think that making these extents "private" would be at all 
> > helpful.  Having them public, and referenced by name, will make it 
> > easier to access them.
> 
> I agree... I assume your talking about id numbers??

No, I'm talking about some random piece of code being able to say "I 
want to allocate a range from x-y in the extent 'foo'", without having 
to be passed a handle for "foo" by the original creator.

mike





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