Date: Wed, 8 Dec 1999 08:54:15 -0500 From: "Charles Anderson" <caa@columbus.rr.com> To: Mike Smith <msmith@FreeBSD.ORG> Cc: Charles Anderson <caa@columbus.rr.com>, 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: <19991208085415.A534@midgard.dhs.org> In-Reply-To: <199912080513.VAA07525@mass.cdrom.com>; from Mike Smith on Tue, Dec 07, 1999 at 09:13:41PM -0800 References: <19991208000746.A1622@midgard.dhs.org> <199912080513.VAA07525@mass.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991208085415.A534>