All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: viresh kumar <viresh.kumar@st.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: ata: hotplug not working with arasan CF controller driver
Date: Fri, 26 Nov 2010 18:25:38 +0100	[thread overview]
Message-ID: <4CEFED92.7050701@kernel.org> (raw)
In-Reply-To: <4CECA643.2010005@st.com>

On 11/24/2010 06:44 AM, viresh kumar wrote:
> On 11/22/2010 04:24 PM, Viresh KUMAR wrote:
>> I am writing arasan CF controller driver (pio mode). Hotplug is not working
>> with my driver and i can't find the reason for this. What i am expecting is,
>> inserting CF card on already booted machine should add /dev/sd* node for CF
>> card and removing card should remove /dev/sd* node. If i insert card before
>> booting my board and then start my board, things work fine. I am able to mount,
>> read, write, unmount. But hotplug is not working.
>>
>> I am working on linux-2.6.32.
>>
>> Can somebody please help me on this??
> 
> Guys,
> 
> Any help on this??

You gotta tell EH that the device needs rescanning.  When you detect a
hotplug event, call ata_ehi_hotplugged() followed by
ata_port_freeze().

-- 
tejun



  reply	other threads:[~2010-11-26 17:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 10:54 ata: hotplug not working with arasan CF controller driver Viresh Kumar
2010-11-24  5:44 ` viresh kumar
2010-11-26 17:25   ` Tejun Heo [this message]
2010-11-29  3:48     ` viresh kumar
2010-12-02 10:41     ` viresh kumar
2010-12-02 10:44       ` Tejun Heo

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=4CEFED92.7050701@kernel.org \
    --to=tj@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=viresh.kumar@st.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.