From owner-freebsd-hackers Mon Jul 1 21:17:14 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA24888 for hackers-outgoing; Mon, 1 Jul 1996 21:17:14 -0700 (PDT) Received: from sujal.prognet.com (root@lennon-c03.aa.net [204.157.220.167]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA24882 for ; Mon, 1 Jul 1996 21:17:09 -0700 (PDT) Received: from localhost (smpatel@localhost [127.0.0.1]) by sujal.prognet.com (8.7.5/8.6.12) with SMTP id VAA01318; Mon, 1 Jul 1996 21:15:51 -0700 (PDT) Date: Mon, 1 Jul 1996 21:15:50 -0700 (PDT) From: Sujal Patel X-Sender: smpatel@sujal.prognet.com To: Thomas David Rivers cc: freebsd-hackers@freefall.freebsd.org, smpatel@umiacs.umd.edu Subject: Re: Sound Blaster PNP - just how to do it (using Sujal's PNP & 2.1-RELEASE?) In-Reply-To: <199607010321.XAA00249@lakes> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 30 Jun 1996, Thomas David Rivers wrote: > I've chucked my Opti 8c929 card for a brand-new Sound Blaster PnP > card.... I got tired of wrestling with it... Good Choice :-) The SB PnP is an excellent card. > > I had previously grabbed Sujal's PnP stuff, and now have it > "working" in a 2.1-RELEASE kernel. (I made several fixes, which > I'm sure, by now, other people have reported... autoconf.c needs to > #include "pnp.h" - and several changes to pnp.c - which I've attached > below.) You're using an older version of the PnP code. Try to upgrade to the code in: ftp://freefall.freebsd.org/incoming/ISA_PnP.May5.tar.gz There is one critical bug fix (which is why your card doesn't work). You need to change: #define SEND(d, r) outb (ADDRESS, d); outb (WRITE_DATA, r); TO #define SEND(d, r) {outb (ADDRESS, d); outb (WRITE_DATA, r);} This will fix your problem (99% sure!) I hope to get some time soon to improve this stuff, but work keeps me sooooo busy :-) Sujal