From owner-freebsd-stable Wed Nov 29 10:30:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mukappa.home.com (c576194-a.saltlk1.ut.home.com [24.20.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 83A6C37B401 for ; Wed, 29 Nov 2000 10:30:53 -0800 (PST) Received: from mukappa.home.com (localhost [127.0.0.1]) by mukappa.home.com (8.11.1/8.11.1) with SMTP id eATIUgi12016 for ; Wed, 29 Nov 2000 11:30:43 -0700 (MST) (envelope-from mupi@mknet.org) From: Mike Porter Reply-To: mupi@mknet.org To: freebsd-stable@freebsd.org Subject: and still more sound questions (driver porting for an s3 SonicVibes) Date: Wed, 29 Nov 2000 11:30:42 -0700 X-Mailer: KMail [version 1.1.94] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00112911304203.11309@mukappa.home.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, since sound questions appear to be the topic of the week... IT occurs to me that perhaps there should be a -sound mailing list? (or am I missing something and there is already? If so I apologize, as this rightfully belongs there if there is a such a list) I am trying to figure out how to get a driver for the s3 sonicvibes card into freebsd. I know that both NetBSD and OpenBSD have that driver, and I tried (with no great sucess, I would add) to move the existing driver over my freebsd sources. It seems that there are too many differences in the kernel interfaces to allow you to simply "plug in" a driver in that fashion. I *AM* willing to devote some time to porting this driver, but frankly, I don't know where to start. I know I have seen some comments float by about other drivers being ported from NetBSD, so I could get some input on what I need to change, that would be great. (I know that the headers are different to some extent, and in different locations. I also know that some of the function calls are different (for example, the existing driver uses pci_conf_read() where FreeBSD (ie, pcm sub-drivers) use pci_read_config() (presumably defined in one of the included header files? (assuming pcivars.h or pcireg.h for the moment). ) The sonicvibes card DOES have an SB compatible mode, so it *should* be able to work within the exisitng pcm driver, if the device ID is added, and I can add that and try, but I don't know where to add it TO. Any help or existing drivers would be greatly appriciated. (If a driver exists under -current, I would still be willing to try and integrate it to my - -stable, because I much prefer my SonicVibes-based card to the cheap SB Vibra I am using now. mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjolS1IACgkQZ7GovTQbIm4lwgCfdn8N4bsUC/LQNaSvf7WSPqqJ jp8AnAv9blXEEXIFLLSOF2Bb552zy5Vj =f1id -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message