From owner-freebsd-current@FreeBSD.ORG Mon Oct 2 12:52:32 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D2F816A407 for ; Mon, 2 Oct 2006 12:52:32 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF3D143D53; Mon, 2 Oct 2006 12:52:31 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from misaki (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with SMTP id k92CqTR9014465; Mon, 2 Oct 2006 12:52:30 GMT (envelope-from ariff@FreeBSD.org) Date: Mon, 2 Oct 2006 20:50:39 +0800 From: Ariff Abdullah To: Poul-Henning Kamp Message-Id: <20061002205039.301fa766.ariff@FreeBSD.org> In-Reply-To: <59493.1159791753@critter.freebsd.dk> References: <59493.1159791753@critter.freebsd.dk> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__2_Oct_2006_20_50_39_+0800_JM_Km6Iyqfx9gUvs" Cc: current@FreeBSD.org Subject: Re: sound/driver/hda and ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 12:52:32 -0000 --Signature=_Mon__2_Oct_2006_20_50_39_+0800_JM_Km6Iyqfx9gUvs Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 02 Oct 2006 12:22:33 +0000 Poul-Henning Kamp wrote: >=20 > During a "make universe" ia64 fails with the following errors. >=20 > I wouldn't expect a sound driver to call any of those functions at > all, what's going on ? >=20 >=20 > =3D=3D=3D> sound/driver/hda (all) > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > -std=3Dc99 -nostd inc -I- -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/ia64/src/src0/src/sys/M AC/opt_global.h -I. -I@ > -I@/contrib/altq -finline-limit=3D15000 --param inline-uni > t-growth=3D100 --param large-function-growth=3D1000 -fno-common -g > -I/usr/obj/ia64/s rc/src0/src/sys/MAC -ffixed-r13 > -mfixed-range=3Df32-f127 -mno-sdata -ffreestanding > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes=20 > -Wmissing-prototy > pes -Wpointer-arith -Winline -Wcast-qual -Wundef > -fformat-extensions -c /src/sr > c0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/h > dac.c > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: > In function `hdac_dma_nocache': > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 999: warning: implicit declaration of function > `vtopte' > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 999: warning: nested extern declaration of `vtopte' > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 999: warning: assignment makes pointer from integer > without a cast > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 1001: error: `PG_N' undeclared (first use in this > function) > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 1001: error: (Each undeclared identifier is reported > only once > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 1001: error: for each function it appears in.) > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 1002: warning: implicit declaration of function > `invltlb' > /src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pc > i/hda/hdac.c: 1002: warning: nested extern declaration of `invltlb' >=20 > I wish BUS_DMA_NOCACHE has real meaning (like what NetBSD did) since uncached DMA is pretty much guarantee to make the driver works on broken i386/amd86 hardwares. Should we just narrow this down to i386/amd64 , or give BUS_DMA_NOCACHE a real meaning as part of bus_dmamem_alloc() ? I'm open for suggestion. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Mon__2_Oct_2006_20_50_39_+0800_JM_Km6Iyqfx9gUvs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFIQshlr+deMUwTNoRAty/AJ4062PD/C92uL6WXtkvgZOyv6cc3wCeMa/p UUI5ovRmFQZFkYxVjOliK/4= =uHWH -----END PGP SIGNATURE----- --Signature=_Mon__2_Oct_2006_20_50_39_+0800_JM_Km6Iyqfx9gUvs--