lkml.org 
[lkml]   [2001]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Module read a file?
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> 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.
mra@pobox.com | http://www.pobox.com/~mra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.085 / U:9.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site