From owner-freebsd-current Wed Sep 24 09:28:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA08370 for current-outgoing; Wed, 24 Sep 1997 09:28:31 -0700 (PDT) Received: from relay3.jaring.my (relay3.jaring.my [192.228.128.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA08231; Wed, 24 Sep 1997 09:26:29 -0700 (PDT) Received: from localhost. (j2.ptl7.jaring.my [161.142.1.192]) by relay3.jaring.my (8.8.7/8.8.7) with ESMTP id AAA26693; Thu, 25 Sep 1997 00:18:16 +0800 (MYT) Message-Id: <199709241618.AAA26693@relay3.jaring.my> Received: from localhost (localhost [127.0.0.1]) by localhost. (8.8.7/3.4W3) with ESMTP id AAA02877; Thu, 25 Sep 1997 00:15:27 +0800 (MYT) To: current@FreeBSD.ORG, cvs-all@FreeBSD.ORG Cc: luigi@iet.unipi.it, jmg@FreeBSD.ORG, kato@migmatite.eps.nagoya-u.ac.jp, iwasaki@pc.jaring.my Subject: pcm device has a conflict with FreeBSD(98)? (Re: cvs commit: src/sys/i386/isa/snd sound.c) Reply-To: current@FreeBSD.ORG X-Mailer: Mew version 1.06 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 25 Sep 1997 00:15:27 +0800 From: Mitsuru IWASAKI Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi. > From: John-Mark Gurney > Date: Sun, 14 Sep 1997 23:35:13 -0700 (PDT) > Subject: cvs commit: src/sys/i386/isa/snd sound.c > > jmg 1997/09/14 23:35:13 PDT > > Modified files: > sys/i386/isa/snd sound.c > Log: > add some preprocessor lines to prevent both controler snd0 and > device pcm0 from being loaded into the kernel at the same time. As 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)? # FreeBSD(98) is for NEC PC-98 architecture based PCs. 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. Please look at this; /sys/pc98/conf/files.pc98 ---- pc98/pc98/sio.c optional sio device-driver i386/isa/snd/sound.c optional pcm device-driver i386/isa/snd/dmabuf.c optional pcm device-driver i386/isa/snd/ad1848.c optional pcm device-driver i386/isa/snd/sb_dsp.c optional pcm device-driver i386/isa/snd/clones.c optional pcm device-driver i386/isa/sound/pcm86.c optional pcm device-driver i386/isa/sound/dev_table.c optional snd device-driver /sys/pc98/conf/GENERIC98---- #device pcm0 at isa? port 0xa460 irq 12 vector pcmintr /sys/i386/conf/LINT---- # Luigi's snd code # device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr I suggest that we had better change the name for new pcm driver which developed by Luigi (thanks a lot!), because; - The name "pcm" has been already in used for FreeBSD(98) for long time. - Luckily new pcm driver has just integrated in -current, not in any RELEASEes. # I think alot of FreeBSD(98) users can be confused :-( PS. Sorry, I'm not a FreeBSD(98) user, so cannot test it. -- o [=] O (.~.)_P +=======================oooO==( )//Oooo======================+ | --- Mitsuru IWASAKI ---- | |15A-1-3, Scots Tower, MONT' KIARA CONDOMINIUM, Jalan 1/70C, | |Off Bikit Kiara, 50480 Kuala Lumpur, Malaysia | |TEL/FAX: +60-3-2538579 _/_/_/ _/ | |e-mail: iwasaki@sirim.my(OFFICE) _/ _/ _/ _/ | | iwasaki@pc.jaring.my(HOME) iwasaki@jp.FreeBSD.ORG(FreeBSD) | +============================================================+