Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Apr 2001 10:50:56 -0700
From:      Nick Sayer <nsayer@quack.kfu.com>
Cc:        Jamie Walker <jj.walker@auckland.ac.nz>, Jan Mikkelsen <janm@transactionware.com>, freebsd-stable@freebsd.org
Subject:   Re: Error dev/sound/pc/cmi.c during make buildkernel
Message-ID:  <3AD0A500.10201@quack.kfu.com>
References:  <00d901c0bffb$8042c590$0801a8c0@janm.transactionsite.com> <20010408194112.A1732@auckland.ac.nz> <3AD0447B.204AFA1A@urx.com>

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

[-- Attachment #1 --]
Kent Stewart wrote:

> 
> Jamie Walker wrote:
> 
>> On Sun, Apr 08, 2001 at 05:14:07PM +1000, Jan Mikkelsen wrote:
>> 
>> 
>>> /mnt/usr/src/sys/modules/sound/driver/cmi/../../../../dev/sound/pci/cmi.
>>> c: In function `cmi_init':
>>> /mnt/usr/src/sys/modules/sound/driver/cmi/../../../../dev/sound/pci/cmi.
>>> c:747: `CMPCI_REG_N4SPK3D' undeclared (first use in this function)
>>> /mnt/usr/src/sys/modules/sound/driver/cmi/../../../../dev/sound/pci/cmi.
>>> c:747: (Each undeclared identifier is reported only once
>>> /mnt/usr/src/sys/modules/sound/driver/cmi/../../../../dev/sound/pci/cmi.
>>> c:747: for each function it appears in.)
>>> 
>>> I cvsup'd about four hours ago, and I just cvsup'd again, with the same
>>> problem.
>> 
>> I'm getting the same error. I removed "device pcm" from my kernel
>> configuration to no avail.
>> 
>> 
> 
> 
> It is broken right now. If you want to fix it, look for an email from John
> Capo. He has a patch to add 
> 
> + #  define CMPCI_REG_N4SPK3D           0x04000000 
> 
> to cmireg.h.
> 
> Kent


Attached is the correct patch.

[-- Attachment #2 --]
Index: src/sys/dev/sound/pci/cmireg.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/sound/pci/cmireg.h,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 cmireg.h
--- src/sys/dev/sound/pci/cmireg.h	2001/02/27 03:42:28	1.1.2.1
+++ src/sys/dev/sound/pci/cmireg.h	2001/04/08 17:48:38
@@ -114,6 +114,7 @@
 #define CMPCI_REG_MISC			0x18
 #  define CMPCI_REG_POWER_DOWN		0x80000000
 #  define CMPCI_REG_BUS_AND_DSP_RESET	0x40000000
+#  define CMPCI_REG_N4SPK3D		0x04000000
 #  define CMPCI_REG_W_SPDIF_48L		0x01000000
 #  define CMPCI_REG_SPDIF_48K		0x00008000
 #  define CMPCI_REG_FM_ENABLE		0x00080000

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