From owner-freebsd-hackers Sun Nov 5 3:40:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from minerva.springer.cx (cgmd77002.chello.nl [212.83.77.2]) by hub.freebsd.org (Postfix) with ESMTP id 6072A37B4CF for ; Sun, 5 Nov 2000 03:40:06 -0800 (PST) Received: from springer.cx (aurum.rinkspringer.com [172.16.0.2]) by minerva.springer.cx (8.9.3/8.9.3) with ESMTP id MAA31952; Sun, 5 Nov 2000 12:40:16 -0500 Message-ID: <3A056311.8030807@springer.cx> Date: Sun, 05 Nov 2000 13:39:29 +0000 From: Rink Springer User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.1-RELEASE i386; en-US; m15) X-Accept-Language: en MIME-Version: 1.0 To: Sergey Babkin Cc: Warner Losh , hackers@FreeBSD.ORG Subject: Re: KLD's on ISA bus: how? References: <3A04A8CD.6BDBB8CD@bellatlantic.net> <3A044899.9020508@springer.cx> <200011042344.QAA37170@harmony.village.org> <200011050035.RAA37476@harmony.village.org> <3A04C46A.24DF7BA6@bellatlantic.net> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'd like to point out that I'm writing a KLD driver, so the problem shouldn't be in the kernel, correct? For some reason, FreeBSD refuses to call my probe() thing. It does identify() it, though. Why is this? Aha.c does an ISA auto-detect, which I want to do too... why does it work for AHA and not for me? Help! PS. I couldn't find a hints file or something, as someone pointed out... Thanks! --Rink > > Warner Losh wrote: > > > > > > In message <3A04A8CD.6BDBB8CD@bellatlantic.net> Sergey Babkin writes: > > > > > : In 4.x if you say in config file > > > : > > > : foo at isa > > > : > > > : and provide the identify routine in the driver the result should be > > > : the same. The "ep" driver does that using a proprietary probe > > > : procedure. > > > > > > Most cards don't have that backdoor. They are either full plug and > > > play, or they are rock stupid. Come to think of it, there are some > > > that are both :-). The foo at isa might not work even in 4.x. It > > > will attach a child with no hints at all, so the probe routine won't > > > know where to look. The identify routine is the only way to deal. In > > > 4.x, you say > > > device ep > > > not > > > device ep at isa > > > iirc. > > > > Ah, right. I confused it with another case, where the probe routine > > tries to look for all possible ports. If I remember correctly, > > "aha" is an example of such device. > > > > -SB > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message