From owner-freebsd-hardware Sat Feb 17 22:18:01 1996 Return-Path: owner-hardware Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA27560 for hardware-outgoing; Sat, 17 Feb 1996 22:18:01 -0800 (PST) Received: from xi.dorm.umd.edu (xi.dorm.umd.edu [129.2.152.45]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA27535 Sat, 17 Feb 1996 22:17:48 -0800 (PST) Received: from xi.dorm.umd.edu (localhost [127.0.0.1]) by xi.dorm.umd.edu (8.7.3/8.6.12) with SMTP id BAA03208; Sun, 18 Feb 1996 01:17:22 -0500 (EST) Date: Sun, 18 Feb 1996 01:17:20 -0500 (EST) From: Sujal Patel X-Sender: smpatel@xi.dorm.umd.edu To: garya@dreamchaser.org cc: hardware@freebsd.org, doc@freebsd.org Subject: Re: Supra Express 288i PnP modem In-Reply-To: <9602151559.AA07644@montana.com > Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hardware@freebsd.org Precedence: bulk On Thu, 15 Feb 1996 garya@dreamchaser.org wrote: > You might want to mention that until FreeBSD supports Plug and Play, > the following modem *will not work* in this environment; it apparently > has no default port addr and irq: > > Supra Express 288i PnP I have working ISA PnP support for FreeBSD-- But I'm still working on various parts of the code (I guess I really should get someone to commit the code as it is, since it mostly works). The code works properly with all the PnP cards I've found so far (all 3 of them :) Your Supra modem is the exact same one I have, so you should have no problems. Here is a quick summary of what you need to do.. Sorry for the uglyness, but I'm working on complete auto-configuration of PnP devices (until then you'll need to do manual configuration, but it will work): Here is a manifest of what you'll find on ftp://xi.dorm.umd.edu/pub/pnp: autoconf.c.patch PATCH to src/sys/i386/i386/autoconf.c files.i386.patch PATCH to src/sys/i386/conf/files.i386 pnp.c place in src/sys/i386/isa pnp.h place in src/sys/i386/isa pnpinfo.tar.gz untar somewhere. You'll need to put "controller pnp" in your kernel config (but do not change any of the device entries to reference the controller pnp). You'll also need to edit pnp.c's configuration information (since it only supports manual configuration right now). The structure looks like: { 0x00008803, /* Serial Number */ -1, /* Logical Device Number */ { 15, -1 }, /* IRQ Number */ { -1, -1 }, /* DRQ Number */ { 0x3e8, /* Ports 1 */ -1, /* Ports 2 */ -1, /* Ports 3 */ -1, /* Ports 4 */ -1, /* Ports 5 */ -1, /* Ports 6 */ -1, /* Ports 7 */ } }, Just change the Serial Number, and other parameters to match what "pnpinfo" says about your device. If all goes well, it should say that it configured your device on boot up. You may need to fiddle with this a bit, since I those patches are against -current (and were created manually, not from my running kernel w/pnp). Lemme know how it goes or if you have any problems. Sujal