Date: Tue, 07 Dec 1999 21:13:41 -0800 From: Mike Smith <msmith@freebsd.org> To: "Charles Anderson" <caa@columbus.rr.com> Cc: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>, schuerge@wjpserver.CS.Uni-SB.DE, fn@radio-do.de, freebsd-current@FreeBSD.ORG Subject: Re: AWE64 problems Message-ID: <199912080513.VAA07525@mass.cdrom.com> In-Reply-To: Your message of "Wed, 08 Dec 1999 00:07:46 EST." <19991208000746.A1622@midgard.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <schuerge@wjpserver.CS.Uni-SB.DE> 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. > > > > -- > > Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@freebsd.org> > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > -- > Charles Anderson caa@columbus.rr.com > > No quote, no nothin' > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912080513.VAA07525>