From owner-freebsd-current Tue Dec 7 21:12:11 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (castles521.castles.com [208.214.165.85]) by hub.freebsd.org (Postfix) with ESMTP id 328F414EB0 for ; Tue, 7 Dec 1999 21:12:08 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id VAA07525; Tue, 7 Dec 1999 21:13:41 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912080513.VAA07525@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Charles Anderson" Cc: Seigo Tanimura , schuerge@wjpserver.CS.Uni-SB.DE, fn@radio-do.de, freebsd-current@FreeBSD.ORG Subject: Re: AWE64 problems In-reply-to: Your message of "Wed, 08 Dec 1999 00:07:46 EST." <19991208000746.A1622@midgard.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Dec 1999 21:13:41 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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 > > > > > > 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