Subject: Re: New ESS Allegro-1 / Maestro3 driver
To: None <port-i386@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: port-i386
Date: 12/06/2001 15:08:35
On 2001.12.06 14:33, Antti Kantee wrote:
> > 
> > and voila: I have sound on my Dell C600 Laptop.
> 
> Do you have sound working are suspend+resume also? I never could figure
> out do I did wrong, although I think I do exactly the same things as the
> linux and FreeBSD drivers (where sound after suspend is rumoured to be
> working). FWIW, mine is dell c600 also.

I never suspend/resume. The Notebook usually runs for a week and
is shutdown to take it home over the weekend sometimes.

What would I have to do, in order to test that? New Kernel? apmd?
Never had a closer look to suspend/resume magic. But I you tell me exactly
what to test, I can do this for you.

> 
> > OK, there were to hickups:
> > 
> > -------------------------------------- 8< --------------------------------------
> > cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSHMMAXPGS="0x400" -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../dev/pci/esa.c
> > cc1: warnings being treated as errors
> > ../../../../dev/pci/esa.c:831: warning: no previous prototype for `esa_pa_match'
> > -------------------------------------- 8< --------------------------------------
> > 
> > Couldn't fix the problem, but compiling without -Werror
> > helped.
> > What would the correct fix be?
> 
> Add a prototype?
> 
> int esa_pa_match(struct pci_attach_args *);
> 

This is, what I tried the first time... and got a *whole* lot
*more* errors.
Now I just found out, this was, because I forgot to set the closing ';'!

You see, I'am a beginner...

Now it compiles cleanly.

Thanks

Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------