Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2000 22:18:49 -0700
From:      Warner Losh <imp@village.org>
To:        Nikolai Saoukh <nms@otdel-1.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Reserving Resources 
Message-ID:  <200003270518.WAA89979@harmony.village.org>
In-Reply-To: Your message of "Mon, 27 Mar 2000 09:16:27 %2B0400." <20000327091626.A18459@Draculina.otdel-1.org> 
References:  <20000327091626.A18459@Draculina.otdel-1.org>  <200003261249.VAA05285@tasogare.imasy.or.jp> <200003260112.SAA76635@harmony.village.org> <200003261249.VAA05285@tasogare.imasy.or.jp> <200003262340.QAA87438@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000327091626.A18459@Draculina.otdel-1.org> Nikolai Saoukh writes:
: On Sun, Mar 26, 2000 at 04:40:53PM -0700, Warner Losh wrote:
: 
: > First, I'll create a null driver.  Let's call it "null" since
: > "resourceplaceholder" is too long.  This driver's probe routine would
: > always succeed, and its attach routine would gobble up all the
: > resources associated with this.  Very much like the unknown driver
: > does for pnp resources today.
: 
: No good, because with current 'unknown' driver any kldloadable
: driver for pnp device would not get its resources.

In theory, if one matches with a -1 or smaller rather than 0, then it
will be detached on reprobe.  Isn't that the case?

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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