From owner-freebsd-current Wed Sep 24 10:15:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA11512 for current-outgoing; Wed, 24 Sep 1997 10:15:06 -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 KAA11454; Wed, 24 Sep 1997 10:14:35 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA21966; Wed, 24 Sep 1997 18:02:02 +0200 From: Luigi Rizzo Message-Id: <199709241602.SAA21966@labinfo.iet.unipi.it> Subject: Re: pcm device has a conflict with FreeBSD(98)? (Re: cvs commit: src/sys/i386/isa/snd To: current@FreeBSD.ORG Date: Wed, 24 Sep 1997 18:02:02 +0200 (MET DST) Cc: 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: <199709241618.AAA26693@relay3.jaring.my> from "Mitsuru IWASAKI" at Sep 25, 97 00:15:08 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi. ... > I've just found that another pcm device driver is in > /sys/i386/isa/sound/pcm86.c which is for FreeBSD(98). > Does it cause any problems for FreeBSD(98)? ... > IIRC, config command of FreeBSD(98) has different behavior from > original one, and architecture depending codes were separated into > /sys/i386 and /sys/pc98. However, I'm not sure whether config of 98 > version can handle it well if the pcm device is specified in kernel > configuration file. probably it does not give problems since the only reference to this other pcm device is in /sys/pc98/conf/files.pc98 as you mention. I am sorry for the name clash. If someone has a better name I have no objection. I have picked up "pcm" because "snd" was already in use (and to be honest, the old sound driver really pollutes the name space with all these different devices). The following reasons suggest that the name for the new sound driver be changed: * pc98 pcm was there before The following reasons suggest that the name for the PC98 pcm device is changed: * a potentially smaller user base for the PC98 than for the new sound driver; * the new sound driver is meant to have a single device, named "pcm" (or whatever) which incorporates the functionalities of all subdevices; so "sb", "wss", "gus", "trix", etc are going to disappear anyways; The actual name has not much importance in both cases since it is really a name known only to the kernel (and the config file), there is no other reference in user space or in usual device names. I do not lean for any of the two solutions, provided the new name is reasonable and reminds the functionality of the device (i.e. I would not like to call it "yapcm"!) 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/ _____________________________|______________________________________