aoa.c driver for Screamer ...
Horst Günther Burkhardt III
horst at sxemacs.org
Sun Oct 26 21:43:20 UTC 2008
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20081026/617e6c1f/attachment.pgp
More information about the freebsd-ppc
mailing list