Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 1996 01:17:20 -0500 (EST)
From:      Sujal Patel <smpatel@wam.umd.edu>
To:        garya@dreamchaser.org
Cc:        hardware@freebsd.org, doc@freebsd.org
Subject:   Re: Supra Express 288i PnP modem
Message-ID:  <Pine.BSF.3.91.960218011054.194D-100000@xi.dorm.umd.edu>
In-Reply-To: <9602151559.AA07644@montana.com >

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960218011054.194D-100000>