Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 1995 23:12:06 -0700 (PDT)
From:      John Utz <spaz@u.washington.edu>
To:        freebsd-multimedia@freebsd.org
Subject:   ioconf.c has a minor gritch with opldriver
Message-ID:  <Pine.OSF.3.91j.951011224506.22563A-100000@becker1.u.washington.edu>

next in thread | raw e-mail | index | archive | help

Hello;

	I have no idea if this is fixed in current or snap, but on 2.0.5, 
when one wants to add an opl driver in ones config file, the kernel will 
not be linked due to a failure to find:

_opdriver

the reason being, of course, that no such thing exists :-)

	what ever magic creature that creates ioconf.c in your 
/usr/src/sys/compile/KERNALNAME directory is planting the word "opdriver" 
in all the locations that it wants to actually put the word "opldriver".
subtle difference, i know, but an important one nonetheless.

	Now, once i have a opl0, do i want it to point to a 
different address then the pas0? or do i ALLOW_CONFICT_IOADDR or 
something? Since both are the same bloody thing basically, do ireally 
have any need for the silly thing anyway?

	OH HECK! I just rebuilt nas from scratch, and it is giving me the 
same error that the package did, which is a message in dmesg to the effect:

PCM device 1 not installed.

	The silly thing is that this message is printed by dmabuf.c in 
sound! It took a spot of grepping to find it. But heck? there is also a 
pas_pcm.c in there, so shouldn't the pas0 be the correct device?


	Also, on a related note it fails to plant:

inthand2_t mpuintr;

after the external definition of mpudriver;

and puts NULL in the struct isa_device isa_devtab_null instead of mpuintr.

	And, fwiw even after i fixed this the machine still panics when i try 
a playmidi -e ( -e is the visit external device flag ). i guess i will try 
and sort it out after i read up on kernel debugging :-)

	hope the ioconf.c stuff was of some use.
tnx!
*******************************************************************************
 John Utz	spaz@stein.u.washington.edu
	idiocy is the impulse function in the convolution of life




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91j.951011224506.22563A-100000>