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

From: James A. Sutherland (jas88@cam.ac.uk)
Date: Mon Nov 06 2000 - 10:23:14 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:19 EST