From owner-freebsd-hackers Sat Nov 4 16:24:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 9E8F137B479 for ; Sat, 4 Nov 2000 16:24:53 -0800 (PST) Received: from bellatlantic.net (client-151-198-117-45.nnj.dialup.bellatlantic.net [151.198.117.45]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id TAA05232; Sat, 4 Nov 2000 19:24:46 -0500 (EST) Message-ID: <3A04A8CD.6BDBB8CD@bellatlantic.net> Date: Sat, 04 Nov 2000 19:24:45 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: Warner Losh Cc: Rink Springer , hackers@FreeBSD.ORG Subject: Re: KLD's on ISA bus: how? References: <3A044899.9020508@springer.cx> <200011042344.QAA37170@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <3A044899.9020508@springer.cx> Rink Springer writes: > : I got the stuff to compile et al, but I cannot get the darned thing to > : run as a KLD. FreeBSD doesn't appear to try to probe for the interface > : :(. When I tell FreeBSD it's a PCI thing (instead of ISA), it probes for > : it... > : > : How can I fix this? I want my driver to auto-try all parallel port > : addresses, but without having to mark it as a PCI device... anyone? > > In -current you can just add it to the hints file: > > hint.foo.0.at="isa" > > Unless you've made it a child of the ppb bus, in which case it should > just work because that bus is, afaik, self identifying. > > You may also be able to get this to work with an identify routine if > it will be at a fixed address. 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. 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. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message