Re: sysfs-pci remove

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

 



On 2014/12/17 13:21, ratheesh kannoth wrote:
> I could see the pci resource in /proc/iomem.
> 
> But , lspci -s 06:0.0 -vv  shows that there is no kernel mode driver
> for that interface.

If the device 06:0.0 was removed by "echo 1 > /sys/.../0000:6:0.0/remove",
you could not see lspci info for this device anymore.
Do you really remove the device ?

> 
> 
> On Wed, Dec 17, 2014 at 6:30 AM, Yijing Wang <wangyijing@xxxxxxxxxx> wrote:
>> On 2014/12/17 1:51, ratheesh kannoth wrote:
>>> Hi list,
>>>
>>> https://www.kernel.org/doc/Documentation/filesystems/sysfs-pci.txt
>>> talks about "remove" entry.
>>> The 'remove' file is used to remove the PCI device, by writing a non-zero
>>> integer to the file.  if i remove the device , will the bar resource
>>> map still appear on /proc/iomem ?
>>
>> Of course not.
>>
>>>
>>>
>>> -Ratheesh
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>>
>>
>>
>> --
>> Thanks!
>> Yijing
>>
> 
> 


-- 
Thanks!
Yijing

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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux