Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 13:10:20 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Randall Hopper <rhh@ct.picker.com>
Cc:        multimedia@freebsd.org
Subject:   Re: guspnp9 feedback 
Message-ID:  <199707132010.NAA07974@rah.star-gate.com>
In-Reply-To: Your message of "Sun, 13 Jul 1997 15:52:56 EDT." <19970713155256.41366@ct.picker.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In /sys/i386/isa/sound/sound_calls.h change the prototype from void to int:

/*  From awe_wave.c  */
int  attach_awe_obsolete(struct address_info *hw_config);

Recompile the kernel and please let us know if the driver works for you.

	Tnks,
	Amancio


>From The Desk Of Randall Hopper :
>      Had a few minutes to sit down and build the latest driver.  It appears
> that you changed some protos in sound_calls.h and didn't flow them to all
> the .c files.  attach looks like it now returns void rather than long and
> doesn't take a mem_start arg anymore.  
> 
>      Not knowing what the intent was, I'm not sure I'd make the right fix.
> Can you update the code and mail me the diffs.  Also, you might build a
> sound driver with all the devices compiled in.  That should be a pretty
> good build stress-test for the upcoming release.  (In particular, adding:
> 
> device awe0     at isa? port 0x620
> 
> will show the below problem.)
> 
> Thanks,
> 
> Randall
> 
> 
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-exter
ns -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I.
 -I../.. -I/usr/include -DDEFAULT_CHNLSET=1 -DEXT2FS -DMSDOSFS -DCD9660 -DNFS -
DFFS -DINET -DCOMPAT_43 -DKERNEL  ../../i386/isa/sound/awe_wave.c
> ../../i386/isa/sound/awe_wave.c:428: warning: initialization from incompatibl
e pointer type
> ../../i386/isa/sound/awe_wave.c:450: conflicting types for `attach_awe_obsole
te'
> ../../i386/isa/sound/sound_calls.h:136: previous declaration of `attach_awe_o
bsolete'
> ../../i386/isa/sound/awe_wave.c:514: warning: no previous prototype for `unlo
ad_awe'
> *** Error code 1
> 
> Stop.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707132010.NAA07974>