Re: sun4c audio in 4.5

Brandon Applegate <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
On Sat, 16 May 2009, Alexandre Ratchov wrote:

> here's the diff. I've no system to test/compile it
> so i'm pretty sure it requires some tweaking, but the
> approach should work. Anyone could tweak/test it ?

I tried this both on stock 4.5 kernel source, as well as pulling 
arch/sparc/dev/amd* down from CVSWEB (I noticed your patch is against 1.32 
of the driver file).  Both cases result in this:

../../../../arch/sparc/dev/amd7930.c: In function `amd7930attach':
../../../../arch/sparc/dev/amd7930.c:317: warning: implicit declaration of 
function `softintr_establish'
../../../../arch/sparc/dev/amd7930.c:317: warning: assignment makes 
pointer from integer without a cast
../../../../arch/sparc/dev/amd7930.c: In function `amd7930_set_params':
../../../../arch/sparc/dev/amd7930.c:393: `AUDIO_PLAY' undeclared (first 
use in this function)
../../../../arch/sparc/dev/amd7930.c:393: (Each undeclared identifier is 
reported only once
../../../../arch/sparc/dev/amd7930.c:393: for each function it appears 
in.)
../../../../arch/sparc/dev/amd7930.c:400: `AUDIO_RECORD' undeclared (first 
use in this function)
../../../../arch/sparc/dev/amd7930.c: In function `amd7930hwintr':
../../../../arch/sparc/dev/amd7930.c:806: warning: implicit declaration of 
function `softintr_schedule'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.