kern/109147: snd_envy24ht does not compile into kernel, but module .ko does

Ariff Abdullah ariff at FreeBSD.org
Wed Feb 14 07:00:46 UTC 2007


The following reply was made to PR kern/109147; it has been noted by GNATS.

From: Ariff Abdullah <ariff at FreeBSD.org>
To: bug-followup at FreeBSD.org,ohartman at zedat.fu-berlin.de
Cc:  
Subject: Re: kern/109147: snd_envy24ht does not compile into kernel,  but
 module .ko does
Date: Wed, 14 Feb 2007 14:51:09 +0800

 This is a multi-part message in MIME format.
 
 --Multipart=_Wed__14_Feb_2007_14_51_09_+0800_RotbK_zyYFyupGZz
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 This patch should fix it.
 
 
 --
 Ariff Abdullah
 FreeBSD
 
 ... Recording in stereo is obviously too advanced
     and confusing for us idiot ***** users :P ........
 
 --Multipart=_Wed__14_Feb_2007_14_51_09_+0800_RotbK_zyYFyupGZz
 Content-Type: text/x-diff;
  name="envy24.diff"
 Content-Disposition: attachment;
  filename="envy24.diff"
 Content-Transfer-Encoding: 7bit
 
 Index: src/sys/dev/sound/pci/envy24.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/dev/sound/pci/envy24.c,v
 retrieving revision 1.5
 diff -u -r1.5 envy24.c
 --- src/sys/dev/sound/pci/envy24.c	17 Dec 2006 16:06:45 -0000	1.5
 +++ src/sys/dev/sound/pci/envy24.c	14 Feb 2007 06:44:59 -0000
 @@ -109,7 +109,7 @@
  /* device private data */
  struct sc_info {
  	device_t	dev;
 -	void		*lock;
 +	struct mtx	*lock;
  
  	/* Control/Status registor */
  	struct resource *cs;
 Index: src/sys/dev/sound/pci/envy24ht.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/dev/sound/pci/envy24ht.c,v
 retrieving revision 1.6
 diff -u -r1.6 envy24ht.c
 --- src/sys/dev/sound/pci/envy24ht.c	17 Dec 2006 16:06:45 -0000	1.6
 +++ src/sys/dev/sound/pci/envy24ht.c	14 Feb 2007 06:45:00 -0000
 @@ -110,7 +110,7 @@
  /* device private data */
  struct sc_info {
  	device_t	dev;
 -	void		*lock;
 +	struct mtx	*lock;
  
  	/* Control/Status registor */
  	struct resource *cs;
 Index: src/sys/dev/sound/pci/spicds.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/dev/sound/pci/spicds.c,v
 retrieving revision 1.4
 diff -u -r1.4 spicds.c
 --- src/sys/dev/sound/pci/spicds.c	30 Sep 2006 16:53:40 -0000	1.4
 +++ src/sys/dev/sound/pci/spicds.c	14 Feb 2007 06:45:00 -0000
 @@ -45,7 +45,7 @@
  	unsigned int dvc;    /* De-emphasis and Volume Control */
  	unsigned int left, right;
  	char name[SPICDS_NAMELEN];
 -	void *lock;
 +	struct mtx *lock;
  };
  
  static void
 
 --Multipart=_Wed__14_Feb_2007_14_51_09_+0800_RotbK_zyYFyupGZz--


More information about the freebsd-multimedia mailing list