Date: Thu, 3 May 2001 22:02:02 +0200 (CEST) From: quinot@inf.enst.fr To: FreeBSD-gnats-submit@freebsd.org Subject: kern/27067: pcm_feederdesc defined twice Message-ID: <20010503200202.C098211299@shalmaneser.enst.fr>
next in thread | raw e-mail | index | archive | help
>Number: 27067 >Category: kern >Synopsis: pcm_feederdesc defined twice >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 03 13:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Thomas Quinot >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD shalmaneser.enst.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Fri Apr 20 17:55:41 CEST 2001 quinot@shalmaneser.enst.fr:/usr/obj/usr/src/sys/SHALMANESER i386 >Description: In sys/dev/sound/pcm, struct pcm_feederdesc is defined in feeder.h (included by sound.h) *and* datatypes.h. This prevents the compilation of the ICH audio driver (http://www.katsurajima.seya.yokohama.jp/ich/), which includes sound.h, and also requires datatypes.h because it uses snd_dbuf. >How-To-Repeat: >Fix: I do not know if the following patch is appropriate, but at least it let me compile the kernel. --- sys/dev/sound/pcm/datatypes.h.dist Thu May 3 21:55:50 2001 +++ sys/dev/sound/pcm/datatypes.h Thu May 3 21:55:44 2001 @@ -81,23 +81,6 @@ /*****************************************************************************/ -struct pcm_feederdesc { - u_int32_t type; - u_int32_t in, out; - u_int32_t flags; - int idx; -}; - -struct _pcm_feeder { - KOBJ_FIELDS; - int align; - struct pcm_feederdesc *desc; - void *data; - pcm_feeder *source; -}; - -/*****************************************************************************/ - struct _pcmchan_caps { u_int32_t minspeed, maxspeed; u_int32_t *fmtlist; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010503200202.C098211299>