/* Hook for sysfs read of QSFP */
int qsfp_dump(struct hfi1_pportdata *ppd, char *buf, int len);
-- int hfi1_pcie_init(struct pci_dev *, const struct pci_device_id *);
-- void hfi1_pcie_cleanup(struct pci_dev *);
-- int hfi1_pcie_ddinit(struct hfi1_devdata *, struct pci_dev *);
++ int hfi1_pcie_init(struct pci_dev *pdev, const struct pci_device_id *ent);
++ void hfi1_pcie_cleanup(struct pci_dev *pdev);
++ int hfi1_pcie_ddinit(struct hfi1_devdata *dd, struct pci_dev *pdev);
void hfi1_pcie_ddcleanup(struct hfi1_devdata *);
- void hfi1_pcie_flr(struct hfi1_devdata *);
-- int pcie_speeds(struct hfi1_devdata *);
-- void request_msix(struct hfi1_devdata *, u32 *, struct hfi1_msix_entry *);
-- void hfi1_enable_intx(struct pci_dev *);
-void hfi1_pcie_flr(struct hfi1_devdata *dd);
++ int pcie_speeds(struct hfi1_devdata *dd);
++ void request_msix(struct hfi1_devdata *dd, u32 *nent,
++ struct hfi1_msix_entry *entry);
++ void hfi1_enable_intx(struct pci_dev *pdev);
void restore_pci_variables(struct hfi1_devdata *dd);
int do_pcie_gen3_transition(struct hfi1_devdata *dd);
int parse_platform_config(struct hfi1_devdata *dd);