diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-08-29 13:37:28 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-08-30 02:57:17 -0400 |
commit | 1d57896638f080165165dd9fb4cf848220dfd853 (patch) | |
tree | 679a611e0a39e865855a611f5c8d5d90c0122470 /arch/s390/include/asm/pci.h | |
parent | 77e844b9644026c11c5883144540155de39af767 (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.h | 4 |
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); | |||
135 | int zpci_unregister_ioat(struct zpci_dev *, u8); | 135 | int zpci_unregister_ioat(struct zpci_dev *, u8); |
136 | 136 | ||
137 | /* CLP */ | 137 | /* CLP */ |
138 | int clp_find_pci_devices(void); | 138 | int clp_scan_pci_devices(void); |
139 | int clp_rescan_pci_devices(void); | ||
139 | int clp_add_pci_device(u32, u32, int); | 140 | int clp_add_pci_device(u32, u32, int); |
140 | int clp_enable_fh(struct zpci_dev *, u8); | 141 | int clp_enable_fh(struct zpci_dev *, u8); |
141 | int clp_disable_fh(struct zpci_dev *); | 142 | int clp_disable_fh(struct zpci_dev *); |
@@ -163,7 +164,6 @@ static inline void zpci_exit_slot(struct zpci_dev *zdev) {} | |||
163 | /* Helpers */ | 164 | /* Helpers */ |
164 | struct zpci_dev *get_zdev(struct pci_dev *); | 165 | struct zpci_dev *get_zdev(struct pci_dev *); |
165 | struct zpci_dev *get_zdev_by_fid(u32); | 166 | struct zpci_dev *get_zdev_by_fid(u32); |
166 | bool zpci_fid_present(u32); | ||
167 | 167 | ||
168 | /* sysfs */ | 168 | /* sysfs */ |
169 | int zpci_sysfs_add_device(struct device *); | 169 | int zpci_sysfs_add_device(struct device *); |