0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __S390_PCI_IOV_H
0011 #define __S390_PCI_IOV_H
0012
0013 #ifdef CONFIG_PCI_IOV
0014 void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn);
0015
0016 void zpci_iov_map_resources(struct pci_dev *pdev);
0017
0018 int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn);
0019
0020 #else
0021 static inline void zpci_iov_remove_virtfn(struct pci_dev *pdev, int vfn) {}
0022
0023 static inline void zpci_iov_map_resources(struct pci_dev *pdev) {}
0024
0025 static inline int zpci_iov_setup_virtfn(struct zpci_bus *zbus, struct pci_dev *virtfn, int vfn)
0026 {
0027 return 0;
0028 }
0029 #endif
0030 #endif