Subject: Re: New am7930 driver
To: None <current-users@netbsd.org, port-sparc@netbsd.org>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: current-users
Date: 05/07/2000 17:40:16
Some time ago Lennart Augustsson wrote: (I've carelessly deleted the
original mail, reconstructed from mail-index.netbsd.org.)
> I've just commited some changes to the am7930 audio driver (from Gregory
> McGarry).
> I would be grateful if people with Sparcs that have the 7930 could test this
> change, I can't.
I was going to try them (on a SLC/sun4c), but kernel compilation stops with:
cc -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -I../../../../../gnu/sys -DSUN4C -DMAXUSERS=16 -D_KERNEL -c ../../../../arch/sparc/dev/audioamd.c
../../../../arch/sparc/dev/audioamd.c:185: `audioamd_getdev' undeclared here (not in a function)
../../../../arch/sparc/dev/audioamd.c:185: initializer element for `sa_hw_if.getdev' is not constant
../../../../arch/sparc/dev/audioamd.c: In function `audioamd_mainbus_attach':
../../../../arch/sparc/dev/audioamd.c:243: sizeof applied to an incomplete type
../../../../arch/sparc/dev/audioamd.c: In function `audioamd_sbus_attach':
../../../../arch/sparc/dev/audioamd.c:270: sizeof applied to an incomplete type
../../../../arch/sparc/dev/audioamd.c: In function `audioamd_attach':
../../../../arch/sparc/dev/audioamd.c:291: structure has no member named `sc_glue'
cc1: warnings being treated as errors
../../../../arch/sparc/dev/audioamd.c:293: warning: passing arg 1 of `am7930_init' from incompatible pointer type
[...]
(I did a "sup -o" to be sure my sources are in sync with netbsd.org )
--
Dies ist Thilos Unix Signature! Viel Spass damit.