From owner-freebsd-current Thu Sep 25 18:59:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA28830 for current-outgoing; Thu, 25 Sep 1997 18:59:37 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA28791; Thu, 25 Sep 1997 18:59:18 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id CAA25457; Fri, 26 Sep 1997 02:47:14 +0200 From: Luigi Rizzo Message-Id: <199709260047.CAA25457@labinfo.iet.unipi.it> Subject: Re: pcm device has a conflict with FreeBSD(98)? (Re: cvs commit: src/sys/i386/isa/snd To: jonny@coppe.ufrj.br (Joao Carlos Mendes Luis) Date: Fri, 26 Sep 1997 02:47:13 +0200 (MET DST) Cc: current@FreeBSD.ORG, cvs-all@FreeBSD.ORG, luigi@iet.unipi.it, jmg@FreeBSD.ORG, kato@migmatite.eps.nagoya-u.ac.jp, iwasaki@pc.jaring.my In-Reply-To: <199709260150.WAA03751@gaia.coppe.ufrj.br> from "Joao Carlos Mendes Luis" at Sep 25, 97 10:50:36 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Is it really needed to include support for ALL kinds of sound cards > if I need just one ? This is not scalable. I would prefer a common > framework for audio devices, and stubs for each card family. Maybe > two separate frameworks, if synthesizer support is added someday. I understand your concern, but as long as there are going to be 2-3 mainstream codecs and tens of different card which emulate these 2-3 differing only in the attach routine, I do think mine is a reasonable approach. Audio cards are not as different as, say, ethernet cards, for which having different drivers is reasonable because they are way different from each other. And btw the "ed" and "de" driver now do the same aggregation work of my sound driver. Similarly, I could have used "sb" and "wss" as names, but it turns out that most modern codecs emulate both (and possibly _need_ access to both) so you end up needing both drivers in any case, hence my decision. I have been thinking on the structure for quite some time, it is not a decision I took out of the blue. Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________