diff options
author | Scott Murray <scottm@somanetworks.com> | 2005-05-09 21:31:50 (GMT) |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-05-17 21:31:11 (GMT) |
commit | 43b7d7cfb157b5c8c5cc0933f4e96fd81adc81ca (patch) | |
tree | 2af3b43ed8ee9468b1e0418c10275f33d23ced19 /drivers/pci/hotplug/cpci_hotplug.h | |
parent | 8b245e45f34280ec61e3c8d643d4613b9e0eb7a4 (diff) | |
download | linux-fsl-qoriq-43b7d7cfb157b5c8c5cc0933f4e96fd81adc81ca.tar.xz |
[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>
Diffstat (limited to 'drivers/pci/hotplug/cpci_hotplug.h')
-rw-r--r-- | drivers/pci/hotplug/cpci_hotplug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpci_hotplug.h b/drivers/pci/hotplug/cpci_hotplug.h index 3ddd759..d9769b3 100644 --- a/drivers/pci/hotplug/cpci_hotplug.h +++ b/drivers/pci/hotplug/cpci_hotplug.h @@ -31,7 +31,7 @@ #include <linux/types.h> #include <linux/pci.h> -/* PICMG 2.12 R2.0 HS CSR bits: */ +/* PICMG 2.1 R2.0 HS CSR bits: */ #define HS_CSR_INS 0x0080 #define HS_CSR_EXT 0x0040 #define HS_CSR_PI 0x0030 |