But you don't need to modify the drivers till later. As long as you have the
extra parameters in the _internal_ API before 2.2 is released and people start
writing new drivers for the soundcore API, it doesn't matter if it doesn't
actually _do_ anything yet.
Aside from that, you could probably manage this in header files, if you were
feeling particularly evil.
/* soundcore_module_parms.h */
#ifdef MODULE
static int mixerdev=-1, dspdev=-1, synthdev=-1;
MODULE_PARM(mixerdev,"i");
MODULE_PARM(dspdev,"i");
MODULE_PARM(synthdev,"i");
#define sound_register_dsp(a,b,c,d,e) (sound_register_dsp(a,b,c,d,e,dspdev))
...
---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/