From owner-freebsd-hackers Sun Nov 5 2:46: 3 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 E2A2737B4C5 for ; Sun, 5 Nov 2000 02:45:58 -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 KAA31636; Sun, 5 Nov 2000 10:56:04 -0500 Message-ID: <3A055656.30605@springer.cx> Date: Sun, 05 Nov 2000 12:45:10 +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 Sergey Babkin wrote: Hi, I've got a probe, attach and a dummy identify procedure for my driver now. When I load the KLD, my identify procedure gets triggered, but the probe procedure doesn't! Why? Can someone help me? I've tightly used aha_isa.c as a help... for some reason, FreeBSD doesn't appear even to CALL the probe thing! Please help me! 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