From: geraint0923@gmail.com (Geraint Yang)
To: kernelnewbies@lists.kernelnewbies.org
Subject: About module priority
Date: Thu, 19 Apr 2012 22:16:32 +0800 [thread overview]
Message-ID: <CAAdM-RWjNiVouH+Yj6WaKdUsMUHBgenCaivFDTb5gaH88oOg5A@mail.gmail.com> (raw)
In-Reply-To: <CABOM9ZrkgZjTs-7aWqsJyOY7eGCTeMCvsQQZeTiTFyx1LNmJ2g@mail.gmail.com>
Hi Arun,
Thanks for your reply.
I have ever thought about this method, but my sd driver is only for my own
special sd card which is not the common sd card and my driver could not
deal with the common sd card. So I need the default sd driver for other
common sd cards.
I hope that mmc core could let my driver probe first, if the sd card is my
special one, my driver will operate it in my own way, otherwise mmc core
will call the prob function of the default sd driver then.
On Thu, Apr 19, 2012 at 9:50 PM, Arun KS <getarunks@gmail.com> wrote:
> Hi Geraint,
>
> On Thu, Apr 19, 2012 at 2:05 PM, Geraint Yang <geraint0923@gmail.com>wrote:
>
>> Hi folks,
>> I am writing a kernel module for a sd card, but when I insert a sd card
>> into my box, the default sd driver will probe before my driver, and my
>> driver will never have chance to probe. Is there any method to make my
>> driver probe the sd card before the default sd driver?
>>
> Why can't you disable the default sd card driver in your .config?
>
> Thanks in advance.
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
--
Geraint Yang
Tsinghua University Department of Computer Science and Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120419/9a35b3e9/attachment.html
next prev parent reply other threads:[~2012-04-19 14:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-19 8:35 About module priority Geraint Yang
2012-04-19 13:50 ` Arun KS
2012-04-19 14:16 ` Geraint Yang [this message]
2012-04-19 14:29 ` Tirtha Ghosh
2012-04-19 14:40 ` Tirtha Ghosh
2012-04-19 15:08 ` Geraint Yang
2012-04-19 15:18 ` Tirtha Ghosh
2012-04-19 15:11 ` Abhijit Pawar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAdM-RWjNiVouH+Yj6WaKdUsMUHBgenCaivFDTb5gaH88oOg5A@mail.gmail.com \
--to=geraint0923@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).