Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 1998 17:58:12 +0900 (JST)
From:      NAGAO -abtk- Tadaaki <nagao@cs.titech.ac.jp>
To:        nate@mt.sri.com
Cc:        luigi@labinfo.iet.unipi.it, freebsd-stable@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG
Subject:   Re: Problems with new sound code?
Message-ID:  <19980214175812R.nagao@wo-ppp1.cs.titech.ac.jp>
In-Reply-To: Your message of "Thu, 12 Feb 1998 13:42:00 -0700" <199802122042.NAA05488@mt.sri.com>
References:  <199802122042.NAA05488@mt.sri.com>

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

In message <199802122042.NAA05488@mt.sri.com>,
    nate@mt.sri.com (Nate Williams) as "nate" wrote:
nate> [
nate> Luigi's sound-driver in -stable won't work, and couldn't have worked
nate> since it contained the poll changes from -current.
nate> ]

Won't still compile in -stable if *DEVFS defined*.

Since I'm not really using DEVFS though I always define DEVFS :-),
the following patch which just "#if 0"-ify the unpleasant region
makes me happy. :-)

-- Tada
NAGAO Tadaaki (nagao@cs.titech.ac.jp)
Dept. of Computer Science, Tokyo Institute of Technology, Japan.


--- sound.c.orig	Fri Feb 13 07:48:45 1998
+++ sound.c	Sat Feb 14 16:56:50 1998
@@ -214,6 +214,7 @@
     isadev = makedev(CDEV_MAJOR, 0);
     cdevsw_add(&isadev, &snd_cdevsw, NULL);
 
+#if 0
 #ifdef DEVFS
     /*
      * XXX remember to store the returned tokens if you want to
@@ -229,6 +230,7 @@
 	DV_CHR, UID_ROOT, GID_WHEEL, 0600, "mixer%n", dev->id_unit);
     devfs_add_devswf(&snd_cdevsw, (dev->id_unit << 4) | SND_DEV_STATUS,
 	DV_CHR, UID_ROOT, GID_WHEEL, 0600, "status%n", dev->id_unit);
+#endif
 #endif
 
     /*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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