From 7ee2669b4c809731bb538e530b7dd3665c97e708 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 26 Mar 1997 17:12:31 +0000 Subject: [PATCH] Allow low level probe routine pass configured information back to isa --- sys/i386/isa/sound/soundcard.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/sys/i386/isa/sound/soundcard.c b/sys/i386/isa/sound/soundcard.c index 177f73b464ce..78fbca6a9d69 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 @@ -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