Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 00:15:27 +0800
From:      Mitsuru IWASAKI <iwasaki@pc.jaring.my>
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)
Message-ID:  <199709241618.AAA26693@relay3.jaring.my>

next in thread | raw e-mail | index | archive | help
Hi.

> From: John-Mark Gurney <jmg@FreeBSD.ORG>
> 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) |
+============================================================+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709241618.AAA26693>