[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ada7i8avoz6.fsf@cisco.com>
Date: Tue, 14 Oct 2008 14:36:13 -0700
From: Roland Dreier <rdreier@...co.com>
To: Oliver Neukum <oliver@...kum.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: question about pci_disable_device
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists