CAUTION!

This version is the ALPHA test version of the sound drivers for SVR4.2.
Beware of unexpected results.  In any case make sure you can trust your
backups before testing this stuff...


Created by Ian Hartas, iph@oasis.icl.co.uk


If you have been using the previous release of the SVR4.2 version, then
you must remove it prior to using this version. This driver is now
loadable, the previous version wasn't. Enter the following commands :-
	
	rm /etc/conf/pack.d/snd/Driver.o
	rm /etc/conf/pack.d/snd/space.c
	rm /etc/conf/sdevice.d/snd
	rm /etc/conf/mdevice.d/snd
	rm /etc/conf/node.d/snd
	/etc/conf/bin/idbuild 
	cd /
	shutdown -i6 -g0 -y


From now on, installation of the driver does not need a kernel rebuild
as the snd driver is set up to used the loadable driver feature of
SVR4.2 .  See the "modadmin" manual pages for more information.


This is the second version of the soundcard driver for SVR4.2
The first version was done on a basis of the minimum number of changes
necessary to get a working version. This second version tidies up a lot
of the minor problems and attempts to make the driver fully SVR4.2 DDI-DKI
compliant.


Installation (SVR4.2)
---------------------

NOTE:	$SRC is used to denote the directory where the source tree is
	located for this driver.  In the steps below, Substitute $SRC
	for your own situation.

0)	
	cd $SRC
	cp soundcard.h /usr/include/sys
	rm makefile
	ln -s makefile.svr4.2 makefile
	make purge
	make setup-SVR4.2
	make config

1)	
	PARALLEL=5 export PARALLEL ; make -P

	If all goes well, the file "$SRC/SVR4.2/Driver.o" will be created.
	Please report any problems (during the test period) immediately
        to iph@oasis.icl.co.uk

2)	
	Login as root on the console. 

3)	
	cd $SRC/SVR4.2

4)	
	Edit the file 'SVR4.2.cf/System' (see below).

5)	
	make install

6)	
	If you subsequently need to make changed to the /etc/conf/sdevice.d/snd
	file, then you should need to re-load the snd driver :-

	modadmin -U snd
	vi /etc/conf/sdevice.d/snd
	/etc/conf/bin/idbuild -M snd

	The snd driver is now reconfigured and will be re-loaded on first access
	or explicitly by the command

	modadmin -l snd



Configuring the driver
----------------------

There are two steps in the configuration:

A)	The configure program sets up some macros used when compiling the
	driver. At this step you can specify which drivers (soundcards and
	services) you actually need.

B)	The 'System' file contains a line for each sound device supported
	by the driver. You have to disable the unnecessary lines and to
	edit some parameters in the lines you left to the System file.
	This file gives the actual I/O address, IRQ and DMA channel 
	information to the driver.

Full information on how to set up the system file is given within the
SVR4.2/SVR4.2.cf/System file itself. Note that the format of the file
has changed since the first release of this driver. The System file
as supplied is already set up for a single SoundBlaster at port 220, with
IRQ 5.


Ian Hartas  C.Eng MBCS.







