So then what is -1 and why does it work when -100 doesn't? (I tried it)

-Charlie

On Tue, Dec 07, 1999 at 09:13:41PM -0800, Mike Smith wrote:
> > I looked for some meaning to the -100, is this documented somewhere?
> 
> It's not, yet.  We should move to using some defines for this.
> A while back I proposed something like:
> 
> #define DEVICE_MATCH_EXACT    -100
> #define DEVICE_MATCH_CLASS    -200
> #define DEVICE_MATCH_GENERIC  -300
> 
> The 'exact' response is still < 0 so that you can tune between two 
> 'exact' drivers on a per-instance basis.  The meanings should be pretty 
> obvious...
> 
> > Who calls it?
> > 
> > -Charlie
> > 
> > On Wed, Dec 08, 1999 at 11:30:46AM +0900, Seigo Tanimura wrote:
> > > On Tue, 7 Dec 1999 23:00:02 +0100 (MET),
> > >   Thomas Schuerger <[EMAIL PROTECTED]> said:
> > > 
> > > >> --- sbc.c.orig Mon Dec  6 19:26:31 1999
> > > >> +++ sbc.c      Tue Dec  7 22:15:25 1999
> > > >> @@ -110,7 +110,7 @@
> > > >> if (error)
> > > >> return error;
> > > >> else
> > > >> -              return -100;
> > > >> +              return -1;
> > > >> }
> > > >> 
> > > >> static int
> > > 
> > > Thomas> Works fine for me. Thanks!!!
> > > 
> > > 
> > > Yes, this patch should work. The probe likelyhood(do we call it so?) for
> > > unknown device is -100, so it does not make sense for sbc to return
> > > -100.
> > > 
> > > -1 might be too high, -50 sounds good to me.

-- 
Charles Anderson        [EMAIL PROTECTED]

No quote, no nothin'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to