From owner-freebsd-ppc@FreeBSD.ORG Sun Oct 26 21:43:19 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB52E1065676 for ; Sun, 26 Oct 2008 21:43:19 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5251E8FC16 for ; Sun, 26 Oct 2008 21:43:19 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.26.25] (c220-237-26-25.farfl2.nsw.optusnet.com.au [220.237.26.25]) (authenticated sender horst.burkhardt) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m9QLhFAJ021496; Mon, 27 Oct 2008 08:43:16 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Marco Trillo In-Reply-To: References: <48FE33D7.3080505@fgznet.ch> <1224657584.10591.72.camel@horst-tla> <1224668347.10591.76.camel@horst-tla> <1224788068.10591.105.camel@horst-tla> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-QacY7+S3QQbvUijHb93p" Date: Mon, 27 Oct 2008 08:45:45 +1100 Message-Id: <1225057546.10591.127.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: FreeBSD PowerPC ML Subject: Re: aoa.c driver for Screamer ... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2008 21:43:20 -0000 --=-QacY7+S3QQbvUijHb93p Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-10-24 at 10:15 +0200, Marco Trillo wrote: > Hi, > Oops, that's because it requires the latest DBDMA code, which has not > yet been MFCed to the 7.x branch. >=20 > The solution is to update the files > - /usr/src/sys/powerpc/powermac/dbdma.c > - /usr/src/sys/powerpc/powermac/dbdmavar.h > - /usr/src/sys/powerpc/include/dbdma.h > to the latest versions from -current. >=20 > They can be downloaded from CVSweb: >=20 > > > >=20 >=20 > Hope that helps, and thanks for your interest in the driver! >=20 > Marco [ ... several patches later ... ] ... How much of this kernel will have to be -CURRENT to get it to build and work? Next problem has been hit :)=20 =3D=3D=3D> bm (all) cc -Os -pipe -mcpu=3D7400 -mtune=3D7400 -maltivec -mabi=3Daltivec -Wno-erro= r -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -std=3Dc99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/POWERMAC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D15000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -mlongcall -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/POWERMAC -msoft-float -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/bm/../../dev/bm/if_bm.c /usr/src/sys/modules/bm/../../dev/bm/if_bm.c: In function 'bm_attach': /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 2 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 3 of 'dbdma_allocate_channel' makes pointer from integer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: warning: passing argument 4 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:492: error: too few arguments to function 'dbdma_allocate_channel' /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 2 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 3 of 'dbdma_allocate_channel' makes pointer from integer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: warning: passing argument 4 of 'dbdma_allocate_channel' makes integer from pointer without a cast /usr/src/sys/modules/bm/../../dev/bm/if_bm.c:494: error: too few arguments to function 'dbdma_allocate_channel' *** Error code 1 Stop in /usr/src/sys/modules/bm. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/POWERMAC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. [ bsdbox ] [ root ] [ /usr/src ] =3D=3D>=20 Looks like the new dbdma code is a tad tits-uppish :(=20 Thanks,=20 -- Horst (btw, cc'ed back to list in case anyone knows what to do about the dbdma break) --=-QacY7+S3QQbvUijHb93p Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkE5QkACgkQRtTtv0BbTe5GOACdG6kEc8nqC4wCAEwP1Rg+HUHr NXgAmwRcHJk4TLvRwhWFYs7cJp6NiTbk =MmkL -----END PGP SIGNATURE----- --=-QacY7+S3QQbvUijHb93p--