5578ada6e9
totally dynamic. (the first was about 7 weeeks ago) this is only the devices in i386/isa I'll do more tomorrow. they're completely masked by #ifdef JREMOD at this stage... the eventual aim is that every driver will do a SYSINIT at startup BEFORE the probes, which will effectively link it into the devsw tables etc. If I'd thought about it more I'd have put that in in this set (damn) The ioconf lines generated by config will also end up in the device's own scope as well, so ioconf.c will eventually be gutted the SYSINIT call to the driver will include a phase where the driver links it's ioconf line into a chain of such. when this phase is done then the user can modify them with the boot: -c config menu if he wants, just like now.. config will put the config lines out in the .h file (e.g. in aha.h will be the addresses for the aha driver to look.) as I said this is a very small first step.. the aim of THIS set of edits is to not have to edit conf.c at all when adding a new device.. the tabe will be a simple skeleton.. when this is done, it will allow other changes to be made, all teh time still having a fully working kernel tree, but the logical outcome is the complete REMOVAL of the devsw tables. By the end of this, linked in drivers will be exactly the same as run-time loaded drivers, except they JUST HAPPEN to already be linked and present at startup.. the SYSINIT calls will be the equivalent of the "init" call made to a newly loaded driver in every respect. For this edit, each of the files has the following code inserted into it: obviously, tailored to suit.. ----------------------somewhere at the top: #ifdef JREMOD #include <sys/conf.h> #define CDEV_MAJOR 13 #define BDEV_MAJOR 4 static void sd_devsw_install(); #endif /*JREMOD */ ---------------------somewhere that's run during bootup: EVENTUALLY a SYSINIT #ifdef JREMOD sd_devsw_install(); #endif /*JREMOD*/ -----------------------at the bottom: #ifdef JREMOD struct bdevsw sd_bdevsw = { sdopen, sdclose, sdstrategy, sdioctl, /*4*/ sddump, sdsize, 0 }; struct cdevsw sd_cdevsw = { sdopen, sdclose, rawread, rawwrite, /*13*/ sdioctl, nostop, nullreset, nodevtotty,/* sd */ seltrue, nommap, sdstrategy }; static sd_devsw_installed = 0; static void sd_devsw_install() { dev_t descript; if( ! sd_devsw_installed ) { descript = makedev(CDEV_MAJOR,0); cdevsw_add(&descript,&sd_cdevsw,NULL); #if defined(BDEV_MAJOR) descript = makedev(BDEV_MAJOR,0); bdevsw_add(&descript,&sd_bdevsw,NULL); #endif /*BDEV_MAJOR*/ sd_devsw_installed = 1; } } #endif /* JREMOD */ |
||
---|---|---|
.. | ||
gustest | ||
ad1848_mixer.h | ||
ad1848.c | ||
adlib_card.c | ||
aedsp16.c | ||
audio.c | ||
CHANGELOG | ||
configure.c | ||
coproc.h | ||
COPYING | ||
dev_table.c | ||
dev_table.h | ||
dmabuf.c | ||
finetune.h | ||
gus_card.c | ||
gus_hw.h | ||
gus_linearvol.h | ||
gus_midi.c | ||
gus_vol.c | ||
gus_wave.c | ||
hex2hex.h | ||
HOWTO_MIDI | ||
ics2101.c | ||
local.h | ||
mad16.h | ||
midi_ctrl.h | ||
midi_synth.c | ||
midi_synth.h | ||
midi.c | ||
midibuf.c | ||
mpu401.c | ||
opl3.c | ||
opl3.h | ||
os.h | ||
pas2_card.c | ||
pas2_midi.c | ||
pas2_mixer.c | ||
pas2_pcm.c | ||
pas.h | ||
patmgr.c | ||
pro_midi.c | ||
pss.c | ||
pss.h | ||
README | ||
Readme.aedsp16 | ||
Readme.freebsd | ||
Readme.modules | ||
Readme.v30 | ||
RELNOTES | ||
RELNOTES.Linux | ||
sb16_dsp.c | ||
sb16_midi.c | ||
sb_card.c | ||
sb_dsp.c | ||
sb_midi.c | ||
sb_mixer.c | ||
sb_mixer.h | ||
sb.h | ||
sequencer.c | ||
sound_calls.h | ||
sound_config.h | ||
sound_switch.c | ||
sound_timer.c | ||
sound.doc | ||
soundcard.c | ||
soundcard.h | ||
soundvers.h | ||
sscape.c | ||
sys_timer.c | ||
trix.c | ||
tuning.h | ||
uart6850.c | ||
ulaw.h | ||
ultrasound.h | ||
vat_audio.c | ||
vat_audioio.h |
VoxWare v2.90 release notes -------------------------- This version includes some hidden features which are described in the file experimental.txt Some of these features are not enabled by default. Look at experimental.txt for more info. I just decided to release this version with some incompletely implemented features disabled since there are some new features required by a popular application. In addition there is also support for the GUS MAX and the 16 bit sampling option of GUS. The MSS/WSS support works now. At least with SG NX Pro 16. ********* IMPORTANT ***************************************** Linux 1.0 or later is required to by this driver version. Don't distribute binaries which use /dev/sequencer and are compiled with the soundcard.h of this version. They will not work with version 2.x of the driver. ************************************************************* You will need the snd-util-2.5.tar.gz and snd-data-0.1.tar.Z packages to use this driver. They should be in the same ftp site or BBS from where you got this driver. For example at nic.funet.fi:pub/OS/Linux/*. If you are looking for the installation instructions, please look at linux/Readme. Compatibility with the earlier versions --------------------------------------- This version is backward compatible with the version 2.X. All programs compiled with sys/soundcard.h of v2.X should work without problems. PROGRAMS COMPILED WITH THE sys/soundcard.h OF THIS VERSION WILL NOT WORK WITH v2.X DRIVER. BE CAREFUL WHEN DISTRIBUTING BINARIES COMPILED FOR THIS VERSION. Contributors ------------ This driver contains code by several contributors. In addition several other persons have given useful suggestions. The following is a list of major contributors. (I could have forgotten some names.) Craig Metz 1/2 of the PAS16 Mixer and PCM support Rob Hooft Volume computation algorithm for the FM synth. Mika Liljeberg uLaw encoding and decoding routines Greg Lee Volume computation algorithm for the GUS and lot's of valuable suggestions. Andy Warner ISC port Jim Lowe FreeBSD port Anders Baekgaard Bughunting and valuable suggestions. Joerg Schubert SB16 DSP support. Andrew Robinson Improvements to the GUS driver Megens SA MIDI recording for SB and SB Pro. Mikael Nordqvist Linear volume support for GUS. Mikael Nordqvist Linear volume support for GUS. Ian Hartas SVR4.2 port Markus Aroharju and Risto Kankkunen Major contributions to the mixer support of GUS v3.7. Hunyue Yau Mixer support for SG NX Pro. Marc Hoffman PSS support. Regards, Hannu Savolainen hannu@voxware.pp.fi Snail mail: Hannu Savolainen Hiekkalaiturintie 3 A 8 00980 Helsinki Finland FAX: +358 0 341 6272 (answers if I have my machine (mgetty) on). NOTE! I probably don't answer to Snail mail or FAX messages. Sending answer to each of them is simply too expensive and time consuming. However I try to reply every email message I get (within a week). If you don't get response, please check how your address is written in the message header. I can't answer if I don't have a valid reply address.