From owner-freebsd-hackers Sat Nov 4 16:35:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (unknown [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 86A6137B4CF for ; Sat, 4 Nov 2000 16:35:44 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eA50Zen54349; Sat, 4 Nov 2000 17:35:40 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA37476; Sat, 4 Nov 2000 17:35:40 -0700 (MST) Message-Id: <200011050035.RAA37476@harmony.village.org> To: Sergey Babkin Subject: Re: KLD's on ISA bus: how? Cc: Rink Springer , hackers@FreeBSD.ORG In-reply-to: Your message of "Sat, 04 Nov 2000 19:24:45 EST." <3A04A8CD.6BDBB8CD@bellatlantic.net> References: <3A04A8CD.6BDBB8CD@bellatlantic.net> <3A044899.9020508@springer.cx> <200011042344.QAA37170@harmony.village.org> Date: Sat, 04 Nov 2000 17:35:39 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <3A04A8CD.6BDBB8CD@bellatlantic.net> Sergey Babkin writes: : Maybe I'm missing something but I think that the point of the identify : routine is to discover this address whatever it is, so it does not : have to be fixed. That doesn't work on the ISA bus too well, unless the card can only be in a few places and your probe routine is guaranteed to be "non-destructive" to other cards, which is almost impossible to guarantee. In Rink's case, he's talking directly to the parallel port, so he might be able to meet these guarnatees. : 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. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message