2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/drivers/pci/hotplug
Kenji Kaneshige a246fa4e9f [PATCH] shpchp: Fix slot state handling
Current SHPCHP driver doesn't care about the confliction between
hotplug operation via sysfs and hotplug operation via attention
button. So if those ware conflicted, slot could be an unexpected
state.

This patch changes SHPCHP driver to handle slot state properly. With
this patch, slot events are handled according to the current slot
state as shown at the Table below.

		Table. Slot States and Event Handling
=========================================================================
Slot State		Event and Action
=========================================================================
STATIC			- Go to POWERON state if user initiates
(Slot enabled,		  insertion request via sysfs
 Slot disabled)		- Go to POWEROFF state if user initiates removal
			  request via sysfs
			- Go to BLINKINGON state if user presses
			  attention button when the slot is disabled
			- Go to BLINKINGOFF state if user presses
			  attention button when the slot is enabled
2006-03-23 14:35:13 -08:00
..
acpiphp_core.c [PATCH] acpi hotplug: convert acpiphp to use generic resource code 2005-06-27 21:52:42 -07:00
acpiphp_glue.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
acpiphp_ibm.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
acpiphp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpci_hotplug_core.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug_pci.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug.h [PATCH] PCI Hotplug: CPCI update 2005-05-17 14:31:11 -07:00
cpcihp_generic.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpqphp_ctrl.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpqphp_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_nvram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_pci.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
cpqphp_sysfs.c [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
cpqphp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
fakephp.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
ibmphp_core.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
ibmphp_ebda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
ibmphp_pci.c [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix 2006-01-09 12:13:16 -08:00
ibmphp_res.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
Kconfig [PATCH] PCI Hotplug: fix up Kconfig help text 2006-01-31 18:00:11 -08:00
Makefile [PATCH] PCI Hotplug: rpaphp: Move VIO registration 2005-09-08 14:57:22 -07:00
pci_hotplug_core.c [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
pci_hotplug.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
pciehp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_ctrl.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_pci.c [PATCH] pciehp: allow bridged card hotplug 2006-01-09 12:13:18 -08:00
pciehp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehprm_acpi.c [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c 2006-01-09 12:13:20 -08:00
pciehprm_nonacpi.c [PATCH] PCI: fix namespace clashes 2005-11-10 16:09:18 -08:00
pcihp_skeleton.c [PATCH] pcihp_skeleton.c cleanup 2006-03-23 14:35:11 -08:00
rpadlpar_core.c [PATCH] powerpc/PCI hotplug: shuffle error checking to better location. 2006-01-31 18:00:13 -08:00
rpadlpar_sysfs.c [PATCH] PCI Hotplug: Fix buffer overrun in rpadlpar_sysfs.c 2005-09-22 07:58:25 -07:00
rpadlpar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpaphp_core.c [PATCH] powerpc/PCI hotplug: minor cleanup forward decls 2006-01-31 18:00:13 -08:00
rpaphp_pci.c [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
rpaphp_slot.c [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
rpaphp.h [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
sgi_hotplug.c [PATCH] PCI: convert kcalloc to kzalloc 2005-09-22 07:58:24 -07:00
shpchp_core.c [PATCH] shpchp: Fix slot state handling 2006-03-23 14:35:13 -08:00
shpchp_ctrl.c [PATCH] shpchp: Fix slot state handling 2006-03-23 14:35:13 -08:00
shpchp_hpc.c [PATCH] shpchp: event handling rework 2006-03-23 14:35:13 -08:00
shpchp_pci.c [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() 2006-01-09 12:13:16 -08:00
shpchp_sysfs.c [PATCH] shpchp: fix oops at driver unload 2005-10-28 15:37:01 -07:00
shpchp.h [PATCH] shpchp: Fix slot state handling 2006-03-23 14:35:13 -08:00
shpchprm_acpi.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_legacy.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_nonacpi.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00