| Submitter | Zhao, Yu |
|---|---|
| Date | June 17, 2009, 4:58 a.m. |
| Message ID | <4A3877EB.7020109@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/28763/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index b497daa..5ba6da0 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c @@ -430,6 +430,7 @@ static int sriov_init(struct pci_dev *dev, int pos) if (!total) return 0; + total = 4; ctrl = 0; list_for_each_entry(pdev, &dev->bus->devices, bus_list) if (pdev->is_physfn)