Date: Mon, 27 Mar 2000 09:41:13 +0400 From: Nikolai Saoukh <nms@otdel-1.org> To: Warner Losh <imp@village.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Reserving Resources Message-ID: <20000327094113.A18747@Draculina.otdel-1.org> In-Reply-To: <200003270530.WAA90072@harmony.village.org>; from imp@village.org on Sun, Mar 26, 2000 at 10:30:48PM -0700 References: <20000327092452.B18459@Draculina.otdel-1.org> <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> <20000327091626.A18459@Draculina.otdel-1.org> <200003270518.WAA89979@harmony.village.org> <20000327092452.B18459@Draculina.otdel-1.org> <200003270530.WAA90072@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 26, 2000 at 10:30:48PM -0700, Warner Losh wrote: > In message <20000327092452.B18459@Draculina.otdel-1.org> Nikolai Saoukh writes: > : Current 'unknown' driver attaches with 0 priority, thus kldloaded > : driver is not called at all. And even when 'unknown' driver attaches > : with very low priority, what happens when real driver will be > : kldunloaded? > > Hmmm. The unknown driver should attach with a negative priority. > What should happen? The drivers that have a negative priority should > detach, or at least drivers with a very low priority (set a threshold > of -1000 or something) detached before a probe... I know that this > was talked about at one point, but come to think about it, I don't > recall it being committed. I was wrong. 'unknown' driver attaches with (-100) priority. I have another problem -- when 'unknown' driver attached to my device, my kldloaded driver is not called at all, so I can't override 'unknown' with higher priority. So for a while I just made #if 0 ... #endif for 'unknown'. 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?20000327094113.A18747>