diff options
author | Dave Jiang <dave.jiang@intel.com> | 2018-01-29 21:22:30 +0100 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2018-06-11 21:20:59 +0200 |
commit | 6c1e8ab2d154852f43eb6d139821b7a85e31b21a (patch) | |
tree | c57f3ae0532cfd5958f3c9140423fea48b7c4075 /drivers/ntb/hw/intel/ntb_hw_intel.h | |
parent | ntb: intel: split out the gen3 code (diff) | |
download | linux-6c1e8ab2d154852f43eb6d139821b7a85e31b21a.tar.xz linux-6c1e8ab2d154852f43eb6d139821b7a85e31b21a.zip |
ntb: intel: change references of skx to gen3
Change all references to skx to gen3 NTB.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/hw/intel/ntb_hw_intel.h')
-rw-r--r-- | drivers/ntb/hw/intel/ntb_hw_intel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ntb/hw/intel/ntb_hw_intel.h b/drivers/ntb/hw/intel/ntb_hw_intel.h index 46d757c3850e..c49ff8970ce3 100644 --- a/drivers/ntb/hw/intel/ntb_hw_intel.h +++ b/drivers/ntb/hw/intel/ntb_hw_intel.h @@ -187,7 +187,7 @@ struct intel_ntb_dev { #define hb_ndev(__work) container_of(__work, struct intel_ntb_dev, \ hb_timer.work) -static inline int pdev_is_xeon(struct pci_dev *pdev) +static inline int pdev_is_gen1(struct pci_dev *pdev) { switch (pdev->device) { case PCI_DEVICE_ID_INTEL_NTB_SS_JSF: @@ -210,7 +210,7 @@ static inline int pdev_is_xeon(struct pci_dev *pdev) return 0; } -static inline int pdev_is_skx_xeon(struct pci_dev *pdev) +static inline int pdev_is_gen3(struct pci_dev *pdev) { if (pdev->device == PCI_DEVICE_ID_INTEL_NTB_B2B_SKX) return 1; |