mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 00:02:44 +00:00
Allow low level probe routine pass configured information back to isa
This commit is contained in:
parent
27aa98671d
commit
7ee2669b4c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24296
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user