lkml.org 
[lkml]   [2008]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: question about pci_disable_device
Date
 > could somebody explain what determines when in the sequence of hot
> unplugging pci_disable_device() is called?

I'm not positive about this, but pci_disable_device() should be called
as part of the device's driver's .remove method, which is called from
the sequence:

hotplug driver ->
pci_remove_bus_device() ->
pci_destroy_dev() ->
pci_stop_dev() ->
device_unregister()

- R.


\
 
 \ /
  Last update: 2008-10-14 23:39    [W:0.064 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site