Date: Mon, 27 Oct 2008 08:45:45 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III <horst@sxemacs.org> To: Marco Trillo <marcotrillo@gmail.com> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: aoa.c driver for Screamer ... Message-ID: <1225057546.10591.127.camel@horst-tla> In-Reply-To: <b9c23c9f0810240115s2c94c3aevc265cfa2d7e0700f@mail.gmail.com> References: <48FE33D7.3080505@fgznet.ch> <1224657584.10591.72.camel@horst-tla> <b9c23c9f0810220210u7e40ee27xa9a68b39f90300f7@mail.gmail.com> <1224668347.10591.76.camel@horst-tla> <b9c23c9f0810220317i1cb35ea8o839aa8ea31b37202@mail.gmail.com> <1224788068.10591.105.camel@horst-tla> <b9c23c9f0810240115s2c94c3aevc265cfa2d7e0700f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/powerma= c/dbdma.c?rev=3D1.3;content-type=3Dtext%2Fplain> > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/powerma= c/dbdmavar.h?rev=3D1.2;content-type=3Dtext%2Fplain> > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/include= /dbdma.h?rev=3D1.3;content-type=3Dtext%2Fplain> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1225057546.10591.127.camel>