Re: ata: hotplug not working with arasan CF controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux