Re: Persistent module storage [was Linux 2.4 Status / TODO page]

James A. Sutherland
2000-11-06T15:25:08Z

On Mon, 06 Nov 2000, David Woodhouse wrote:
> jas88@cam.ac.uk said:
> > So autoload the module with a "dont_screw_with_mixer" option. When
> > the kernel first boots, initialise the mixer to suitable settings
> > (load the module with "do_screw_with_mixer" or whatever); thereafter,
> > the driver shouldn't change the mixer settings on load.
>
> Not reliable. You can't read back the current mixer state from all
> hardware, even if you _are_ willing to assume that it has remained in a
> sensible state while the driver has been unloaded.

Irrelevant. The current mixer settings don't matter: what matters is that the
driver does not change them.

> The driver needs to reset the card to the desired levels.

What desired levels? The only desired levels are the current ones, which
the driver does not and (sometimes) cannot know. Leave well alone.

James.