]> git.ipfire.org Git - people/arne_f/kernel.git/commit
s390/pci: introduce clp_get_state
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 26 Apr 2017 16:59:52 +0000 (18:59 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 28 Jun 2017 05:32:11 +0000 (07:32 +0200)
commit783684f1f60faec09f3ac74c0b12e89bdb182429
tree69feacc75a957d4f3d5848178eab3ff1f5d1d7c2
parent4e5bd7803bd1e822513d1007bad1527a2ec589b6
s390/pci: introduce clp_get_state

Code handling pci hotplug needs to determine the configuration
state of a pci function. Implement clp_get_state as a wrapper
for list pci functions.

Also change enum zpci_state to match the configuration state
values.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci_clp.c