]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI Hotplug: CPCI update
authorScott Murray <scottm@somanetworks.com>
Mon, 9 May 2005 21:31:50 +0000 (17:31 -0400)
committerGreg KH <gregkh@suse.de>
Tue, 17 May 2005 21:31:11 +0000 (14:31 -0700)
commit43b7d7cfb157b5c8c5cc0933f4e96fd81adc81ca
tree2af3b43ed8ee9468b1e0418c10275f33d23ced19
parent8b245e45f34280ec61e3c8d643d4613b9e0eb7a4
[PATCH] PCI Hotplug: CPCI update

[PATCH] CPCI: update

I have finally done some work to update the CompactPCI hotplug driver to
fix some of the outstanding issues in 2.6:
- Added adapter and latch status ops so that those files will get created
  by the current PCI hotplug core.  This used to not be required, but
  seems to be now after some of the sysfs rework in the core.
- Replaced slot list spinlock with a r/w semaphore to avoid any potential
  issues with sleeping.  This quiets all of the runtime warnings.
- Reworked interrupt driven hot extraction handling to remove need for a
  polling operator for ENUM# status.  There are a lot of boards that only
  have an interrupt driven by ENUM#, so this lowers the bar to entry.
- Replaced pci_visit_dev usage with better use of the PCI core functions.
  The new code is functionally equivalent to the previous code, but the
  use of pci_enable_device on insert needs to be investigated further, as
  I need to do some more testing to see if it is still necessary.

Signed-off-by: Scott Murray <scottm@somanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/cpci_hotplug.h
drivers/pci/hotplug/cpci_hotplug_core.c
drivers/pci/hotplug/cpci_hotplug_pci.c