Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2000 19:58:35 -0400
From:      "Mark S. Reichman" <reichman@twcny.rr.com>
To:        Brad Patterson <kannykka@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: my SB16 and kern_sig.c
Message-ID:  <38E7DEAB.F291EE01@twcny.rr.com>
References:  <38E7BAA1.C3BF29E6@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Heres what I have for a non-pnp SB16.. 

device sbc0 at isa? port 0x220 irq5 drq 1 flags 0x15
device pcm0 at isa? port ?     irq5 drq 1 flags 0x0

Heres is kernel config stuff for a pnp SB16..  
(Should work.. I have not tested it though.)

device pcm
device sbc

This is the new way of doing sound in 4.0.  Get rid
of the sbxvi0 and snd voxware stuff in your kernel config.
All you will need is what is above.

Look at man pcm, man sbc or /usr/src/sys/i386/conf/LINT 

Brad Patterson wrote:
> 
> I'm trying to configure my soundblaster 16 with FreeBSD 4.0.
> My config file,
> 
>     ident KERN_SB
>     cpu "I586_CPU"
>     maxusers 10
>     machine i386
> 
>     device npx0 at nexus? port IO_NPX flags 0x0 irq 13
>     device sbxvi0 at isa? drq 5
> 
> , always fails during the 'make' process. After doing a 'make depend'
> the following occurs:
> 
> bash# make
> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
> -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
> ../../kern/kern_sig.c
> ../../kern/kern_sig.c:351: warning: function declaration isn't a
> prototype
> ../../kern/kern_sig.c: In function `osigaction':
> ../../kern/kern_sig.c:359: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:359: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:361: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:362: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:364: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:371: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:376: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c: At top level:
> ../../kern/kern_sig.c:517: warning: function declaration isn't a
> prototype
> ../../kern/kern_sig.c: In function `osigprocmask':
> ../../kern/kern_sig.c:523: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c:524: dereferencing pointer to incomplete type
> ../../kern/kern_sig.c: At top level:
> ../../kern/kern_sig.c:552: warning: function declaration isn't a
> prototype
> ../../kern/kern_sig.c:706: warning: function declaration isn't a
> prototype
> ../../kern/kern_sig.c: In function `osigsuspend':
> ../../kern/kern_sig.c:714: dereferencing pointer to incomplete type
> *** Error code 1
> 
> Stop in /usr/src/sys/compile/SOUNDCARD.
> 
> What's going on with kern_sig.c ?
> 
> Thanks,
> Brad Patterson
> (kannykka@home.com)
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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