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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message