diff options
author | Scott Murray <scottm@somanetworks.com> | 2005-05-27 16:48:52 -0400 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-05-31 17:26:38 -0400 |
commit | bcc488ab02254a6e60d749187a632dc3d642d4f8 (patch) | |
tree | 4cd45b4d546cf85c14c442b27f611e048a4d9938 /drivers/char/riscom8.c | |
parent | af00f9811e0ccbd3db84ddc4cffb0da942653393 (diff) |
[PATCH] PCI Hotplug: more CPCI updates
Here is my third attempt at a patch to further update the CompactPCI
hotplug driver infrastructure to address the pci_enable_device issue
discussed on the list as well as a few other issues I discovered during
some more testing. This version addresses a few more issues pointed out
by Prarit Bhargava. Changes include:
- cpci_enable_device and its recursive calling of pci_enable_device on
new devices removed.
- Use list_rwsem to avoid slot status change races between disable_slot
and check_slots.
- Fixed oopsing in cpci_hp_unregister_bus caused by calling list_del on
a slot after calling pci_hp_deregister.
- Removed kfree calls in cleanup_slots since release_slot will have
done it already.
- Reworked init_slots a bit to fix latch and adapter file updating on
subsequent calls to cpci_hp_start.
- Improved sanity checking in cpci_hp_register_controller.
- Now shut things down correctly in cpci_hotplug_exit.
- Switch to pci_get_slot instead of deprecated pci_find_slot.
- A bunch of CodingStyle fixes.
Signed-off-by: Scott Murray <scottm@somanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/riscom8.c')
0 files changed, 0 insertions, 0 deletions