diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-11-09 22:27:53 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-11-09 23:38:53 -0500 |
commit | 6b136724691a6f247ada0c6a5f02370ed46de9f4 (patch) | |
tree | d4bbf2c49f97c98ca2b5d6cdc4f80ad5aea1e190 /drivers/pci/pci.h | |
parent | bff73156d3ad661655e6d9ef04c2284cf3abb0f1 (diff) |
PCI: Use spec names for SR-IOV capability fields
Use the same names (almost) as the spec for TotalVFs, InitialVFs, NumVFs.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 553bbba76eec..3c9443ee00e6 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -233,14 +233,14 @@ struct pci_sriov { | |||
233 | int nres; /* number of resources */ | 233 | int nres; /* number of resources */ |
234 | u32 cap; /* SR-IOV Capabilities */ | 234 | u32 cap; /* SR-IOV Capabilities */ |
235 | u16 ctrl; /* SR-IOV Control */ | 235 | u16 ctrl; /* SR-IOV Control */ |
236 | u16 total; /* total VFs associated with the PF */ | 236 | u16 total_VFs; /* total VFs associated with the PF */ |
237 | u16 initial; /* initial VFs associated with the PF */ | 237 | u16 initial_VFs; /* initial VFs associated with the PF */ |
238 | u16 nr_virtfn; /* number of VFs available */ | 238 | u16 num_VFs; /* number of VFs available */ |
239 | u16 offset; /* first VF Routing ID offset */ | 239 | u16 offset; /* first VF Routing ID offset */ |
240 | u16 stride; /* following VF stride */ | 240 | u16 stride; /* following VF stride */ |
241 | u32 pgsz; /* page size for BAR alignment */ | 241 | u32 pgsz; /* page size for BAR alignment */ |
242 | u8 link; /* Function Dependency Link */ | 242 | u8 link; /* Function Dependency Link */ |
243 | u16 drvttl; /* max num VFs driver supports */ | 243 | u16 driver_max_VFs; /* max num VFs driver supports */ |
244 | struct pci_dev *dev; /* lowest numbered PF */ | 244 | struct pci_dev *dev; /* lowest numbered PF */ |
245 | struct pci_dev *self; /* this PF */ | 245 | struct pci_dev *self; /* this PF */ |
246 | struct mutex lock; /* lock for VF bus */ | 246 | struct mutex lock; /* lock for VF bus */ |