From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 15 Jun 2010 17:19:41 +0000 Subject: Re: New rule for xD FTL driver Message-Id: <20100615171941.GA21501@kroah.com> List-Id: References: <1276347244.4481.15.camel@maxim-laptop> In-Reply-To: <1276347244.4481.15.camel@maxim-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Jun 15, 2010 at 06:01:31PM +0100, David Woodhouse wrote: > On Tue, 2010-06-15 at 09:05 -0700, Greg KH wrote: > > On Tue, Jun 15, 2010 at 06:45:48PM +0300, Maxim Levitsky wrote: > > > Can udev helper tell udev to load modules by setting some variable? > > > > Not really, except for the modalias stuff. Use that if you can. > > > > But I think you've pointed out the real solution already. You need to > > look at the signature on the device and then know what to load, just > > like we do for filesystems. > > Except we don't do that for file systems. We require an explicit mount > call, and all fstype probing is done in userspace. True. So, what do you suggest for how to know how to load the individual mtd drivers? thanks, greg k-h