aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-01-15 12:52:41 -0500
committerBjorn Helgaas <bhelgaas@google.com>2014-01-15 12:52:41 -0500
commit1255dfbb0c77c7a26fec10a5c101b075c3641965 (patch)
treebd886568c8a932649afa30181f0231b1ae0b3a3b /drivers/pci
parenta870614a5371f8e36676e9bb2e089f4121976135 (diff)
parentebd50b939c33c692a4914e66bf06a99b21ffa483 (diff)
Merge branch 'pci/misc' into next
* pci/misc: PCI: Fix pci_check_and_unmask_intx() comment typos PCI: Never treat a VF as a multifunction device
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/iov.c1
-rw-r--r--drivers/pci/pci.c2
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)
2961EXPORT_SYMBOL_GPL(pci_check_and_mask_intx); 2961EXPORT_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