Re: Module read a file?

From: Mark Atwood (
Date: Thu Oct 11 2001 - 17:29:41 EST

Alan Cox <> writes:
> > Because the firmware is stored in volitile memory on the card, and
> > vanishes on a card reset or removal, and I would like to have it Just
> > Work with the pcmcia-cs package with minimal changes.
> Longer term that is precisely what the hot plug interface is there fore

And in the longer term, I plan on migrating this product over to the
hot plug interface.

In the medium term, this will be a really useful feature for quite a
few users of this driver.

In the short term, I just want to get this thing working.

> > Having to remember "run this userspace tool after every card reset"
> > (which includes power suspends and so forth) would be a major pain.
> >
> > Besides, the card already has a good validator in it.
> What do you do if the card is compiled in and initialised before the
> firmware holding fs is mounted ?

Tell the packager and/or user of the module Dont Do That, and have the
card_reset and card_insert functions return with an error.

Mark Atwood   | I'm wearing black only until I find something darker. |
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:42 EST