diff options
-rw-r--r-- | drivers/pci/iov.c | 1 | ||||
-rw-r--r-- | drivers/pci/pci.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 68311ec849ee..9dce7c5e2a77 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c | |||
@@ -84,6 +84,7 @@ static int virtfn_add(struct pci_dev *dev, int id, int reset) | |||
84 | virtfn->dev.parent = dev->dev.parent; | 84 | virtfn->dev.parent = dev->dev.parent; |
85 | virtfn->physfn = pci_dev_get(dev); | 85 | virtfn->physfn = pci_dev_get(dev); |
86 | virtfn->is_virtfn = 1; | 86 | virtfn->is_virtfn = 1; |
87 | virtfn->multifunction = 0; | ||
87 | 88 | ||
88 | for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { | 89 | for (i = 0; i < PCI_SRIOV_NUM_BARS; i++) { |
89 | res = dev->resource + PCI_IOV_RESOURCES + i; | 90 | res = dev->resource + PCI_IOV_RESOURCES + i; |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 1cbd590cf1d1..95c97bec8018 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -2961,7 +2961,7 @@ bool pci_check_and_mask_intx(struct pci_dev *dev) | |||
2961 | EXPORT_SYMBOL_GPL(pci_check_and_mask_intx); | 2961 | EXPORT_SYMBOL_GPL(pci_check_and_mask_intx); |
2962 | 2962 | ||
2963 | /** | 2963 | /** |
2964 | * pci_check_and_mask_intx - unmask INTx of no interrupt is pending | 2964 | * pci_check_and_unmask_intx - unmask INTx if no interrupt is pending |
2965 | * @dev: the PCI device to operate on | 2965 | * @dev: the PCI device to operate on |
2966 | * | 2966 | * |
2967 | * Check if the device dev has its INTx line asserted, unmask it if not | 2967 | * Check if the device dev has its INTx line asserted, unmask it if not |