diff options
author | ache <ache@FreeBSD.org> | 1997-03-26 17:12:31 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-03-26 17:12:31 +0000 |
commit | a3dd619a17726612c29359bd1c426b22fa6fa083 (patch) | |
tree | 5cfbe5aa553edd05a9fd3d9a0671c50f7fc4acd9 /sys/i386/isa/sound | |
parent | 33b1550bf9f12740128a4e2ea1e867f2a53c686d (diff) | |
download | FreeBSD-src-a3dd619a17726612c29359bd1c426b22fa6fa083.zip FreeBSD-src-a3dd619a17726612c29359bd1c426b22fa6fa083.tar.gz |
Allow low level probe routine pass configured information back to isa
Diffstat (limited to 'sys/i386/isa/sound')
-rw-r--r-- | sys/i386/isa/sound/soundcard.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index 177f73b..78fbca6 100644 --- a/sys/i386/isa/sound/soundcard.c +++ b/sys/i386/isa/sound/soundcard.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: soundcard.c,v 1.48 1997/02/22 09:38:16 peter Exp $ */ #include <i386/isa/sound/sound_config.h> @@ -300,9 +300,7 @@ sndprobe (struct isa_device *dev) hw_config.dma = dev->id_drq; hw_config.dma_read = dev->id_flags; /* misuse the flags field for read dma*/ - if(unit) -#ifdef PC98 - if(unit == SNDCARD_PCM86) { + if(unit) { int result; result = sndtable_probe (unit, &hw_config); @@ -311,12 +309,8 @@ sndprobe (struct isa_device *dev) dev->id_drq = hw_config.dma; return result; - } - else -#endif - return sndtable_probe (unit, &hw_config); - else - return 0; + } else + return 0; } static int |