diff options
Diffstat (limited to 'drivers/ntb/ntb_hw.c')
-rw-r--r-- | drivers/ntb/ntb_hw.c | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index 3493e9516519..784446e1de05 100644 --- a/drivers/ntb/ntb_hw.c +++ b/drivers/ntb/ntb_hw.c | |||
@@ -94,11 +94,17 @@ static struct dentry *debugfs_dir; | |||
94 | static DEFINE_PCI_DEVICE_TABLE(ntb_pci_tbl) = { | 94 | static DEFINE_PCI_DEVICE_TABLE(ntb_pci_tbl) = { |
95 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_BWD)}, | 95 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_BWD)}, |
96 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_JSF)}, | 96 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_JSF)}, |
97 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_CLASSIC_JSF)}, | ||
98 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_RP_JSF)}, | ||
99 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_RP_SNB)}, | ||
100 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_SNB)}, | 97 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_SNB)}, |
101 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_CLASSIC_SNB)}, | 98 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_IVT)}, |
99 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_B2B_HSX)}, | ||
100 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_PS_JSF)}, | ||
101 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_PS_SNB)}, | ||
102 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_PS_IVT)}, | ||
103 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_PS_HSX)}, | ||
104 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_SS_JSF)}, | ||
105 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_SS_SNB)}, | ||
106 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_SS_IVT)}, | ||
107 | {PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_NTB_SS_HSX)}, | ||
102 | {0} | 108 | {0} |
103 | }; | 109 | }; |
104 | MODULE_DEVICE_TABLE(pci, ntb_pci_tbl); | 110 | MODULE_DEVICE_TABLE(pci, ntb_pci_tbl); |
@@ -815,13 +821,18 @@ static int ntb_device_setup(struct ntb_device *ndev) | |||
815 | int rc; | 821 | int rc; |
816 | 822 | ||
817 | switch (ndev->pdev->device) { | 823 | switch (ndev->pdev->device) { |
818 | case PCI_DEVICE_ID_INTEL_NTB_2ND_SNB: | 824 | case PCI_DEVICE_ID_INTEL_NTB_SS_JSF: |
819 | case PCI_DEVICE_ID_INTEL_NTB_RP_JSF: | 825 | case PCI_DEVICE_ID_INTEL_NTB_SS_SNB: |
820 | case PCI_DEVICE_ID_INTEL_NTB_RP_SNB: | 826 | case PCI_DEVICE_ID_INTEL_NTB_SS_IVT: |
821 | case PCI_DEVICE_ID_INTEL_NTB_CLASSIC_JSF: | 827 | case PCI_DEVICE_ID_INTEL_NTB_SS_HSX: |
822 | case PCI_DEVICE_ID_INTEL_NTB_CLASSIC_SNB: | 828 | case PCI_DEVICE_ID_INTEL_NTB_PS_JSF: |
829 | case PCI_DEVICE_ID_INTEL_NTB_PS_SNB: | ||
830 | case PCI_DEVICE_ID_INTEL_NTB_PS_IVT: | ||
831 | case PCI_DEVICE_ID_INTEL_NTB_PS_HSX: | ||
823 | case PCI_DEVICE_ID_INTEL_NTB_B2B_JSF: | 832 | case PCI_DEVICE_ID_INTEL_NTB_B2B_JSF: |
824 | case PCI_DEVICE_ID_INTEL_NTB_B2B_SNB: | 833 | case PCI_DEVICE_ID_INTEL_NTB_B2B_SNB: |
834 | case PCI_DEVICE_ID_INTEL_NTB_B2B_IVT: | ||
835 | case PCI_DEVICE_ID_INTEL_NTB_B2B_HSX: | ||
825 | rc = ntb_xeon_setup(ndev); | 836 | rc = ntb_xeon_setup(ndev); |
826 | break; | 837 | break; |
827 | case PCI_DEVICE_ID_INTEL_NTB_B2B_BWD: | 838 | case PCI_DEVICE_ID_INTEL_NTB_B2B_BWD: |