From owner-freebsd-hackers Sat Aug 14 3:42: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pa.scotland.net (pa1.scotland.net [194.247.64.132]) by hub.freebsd.org (Postfix) with ESMTP id 7AAB5156DC for ; Sat, 14 Aug 1999 03:41:43 -0700 (PDT) (envelope-from freebsd@sleepycat.ukpeople.net) Received: from [148.176.237.87] (helo=timog.prestel.co.uk) by pa.scotland.net with esmtp (Exim 2.12 #4) id 11FbFz-0003Vp-00 for hackers@freebsd.org; Sat, 14 Aug 1999 11:41:48 +0100 Received: (qmail 34425 invoked from network); 14 Aug 1999 07:49:43 -0000 Received: from unknown (HELO sleepycat.ukpeople.net) (192.168.0.2) by tabby.sleepycat.ukpeople.net with SMTP; 14 Aug 1999 07:49:43 -0000 Received: (qmail 306 invoked by uid 1002); 14 Aug 1999 07:30:49 -0000 Date: Sat, 14 Aug 1999 08:30:49 +0100 From: Timo Geusch To: tbuswell@acadia.net Cc: hackers@freebsd.org Subject: Re: interacting with ISA PnP devices. Message-ID: <19990814083048.A270@sleepycat.ukpeople.net> References: <14259.14514.212606.703642@localhost.bogus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <14259.14514.212606.703642@localhost.bogus.net>; from tbuswell@acadia.net on Thu, Aug 12, 1999 at 05:25:05PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ted, from my limited experience with FreeBSD & ISA PnP cards (I'm fiddling around with the 3COM Etherlink III driver) I would suggest that you need to write a driver to talk to the card simply because you have to be able to retrieve the card settings. However I found the ISA PnP functionality extremly easy to use considering that I am not a FreeBSD driver guru. That said I would estimate that writing the PnP Init part of the driver shouldn't take more than 100-150 lines of C. The main problem would be adding all the functionality that your Windows driver already incorporates ... Timo On Thu, Aug 12, 1999 at 05:25:05PM -0400, tbuswell@acadia.net wrote: > > Hi, > > What is the path of least resistance for getting an unsupported ISA > PnP device to the point where you can do I/O to it (inb,outb)? > Do I need a driver, or is there some general purpose way for > getting the device "up" to the point that you can use /dev/io and a user > space application? (on -current) > > If I need to write a driver, would a device driver that just maps the > device be considered useful (feasible to implement?)? > > This specific device is a "winmodem" which I believe I have enough > hardware documentation to fiddle with, once I get past the ISA PnP > interface. > > Thanks, > -Ted > (ISA PnP newbie) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message