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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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. > > 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. > > They can be downloaded from CVSweb: > > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/powermac/dbdma.c?rev=1.3;content-type=text%2Fplain> > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/powermac/dbdmavar.h?rev=1.2;content-type=text%2Fplain> > <http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/powerpc/include/dbdma.h?rev=1.3;content-type=text%2Fplain> > > > Hope that helps, and thanks for your interest in the driver! > > 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 :) ===> bm (all) cc -Os -pipe -mcpu=7400 -mtune=7400 -maltivec -mabi=altivec -Wno-error -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/POWERMAC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -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 ] ==> Looks like the new dbdma code is a tad tits-uppish :( Thanks, -- Horst (btw, cc'ed back to list in case anyone knows what to do about the dbdma break) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkkE5QkACgkQRtTtv0BbTe5GOACdG6kEc8nqC4wCAEwP1Rg+HUHr NXgAmwRcHJk4TLvRwhWFYs7cJp6NiTbk =MmkL -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1225057546.10591.127.camel>
