aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pci.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-08-29 13:37:28 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-08-30 02:57:17 -0400
commit1d57896638f080165165dd9fb4cf848220dfd853 (patch)
tree679a611e0a39e865855a611f5c8d5d90c0122470 /arch/s390/include/asm/pci.h
parent77e844b9644026c11c5883144540155de39af767 (diff)
s390/pci: split lpf
List pci functions is used to query and iterate over pci functions. This function currently has 2 users - initial device discovery and rescan after a machine check. Instead of having a multipurpose function pass a callback which gets called for each pci function. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci.h')
-rw-r--r--arch/s390/include/asm/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h
index 64081f85ffdb..4b2bbc1fdbe0 100644
--- a/arch/s390/include/asm/pci.h
+++ b/arch/s390/include/asm/pci.h
@@ -135,7 +135,8 @@ int zpci_register_ioat(struct zpci_dev *, u8, u64, u64, u64);
135int zpci_unregister_ioat(struct zpci_dev *, u8); 135int zpci_unregister_ioat(struct zpci_dev *, u8);
136 136
137/* CLP */ 137/* CLP */
138int clp_find_pci_devices(void); 138int clp_scan_pci_devices(void);
139int clp_rescan_pci_devices(void);
139int clp_add_pci_device(u32, u32, int); 140int clp_add_pci_device(u32, u32, int);
140int clp_enable_fh(struct zpci_dev *, u8); 141int clp_enable_fh(struct zpci_dev *, u8);
141int clp_disable_fh(struct zpci_dev *); 142int clp_disable_fh(struct zpci_dev *);
@@ -163,7 +164,6 @@ static inline void zpci_exit_slot(struct zpci_dev *zdev) {}
163/* Helpers */ 164/* Helpers */
164struct zpci_dev *get_zdev(struct pci_dev *); 165struct zpci_dev *get_zdev(struct pci_dev *);
165struct zpci_dev *get_zdev_by_fid(u32); 166struct zpci_dev *get_zdev_by_fid(u32);
166bool zpci_fid_present(u32);
167 167
168/* sysfs */ 168/* sysfs */
169int zpci_sysfs_add_device(struct device *); 169int zpci_sysfs_add_device(struct device *);