Commit 7218ef43 authored by DuanqiangWen's avatar DuanqiangWen
Browse files

Revert "openeuler: pci: workaround multiple functions can be assigned to only one VM"

wangxun inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I66W4Y



---------------------------------

This reverts commit ed2b7e53.

Signed-off-by: default avatarDuanqiangWen <duanqiangwen@net-swift.com>
parent b8d20195
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -65,6 +65,11 @@
#endif

/************ ngbe_register.h ************/
/* Vendor ID */
#ifndef PCI_VENDOR_ID_TRUSTNETIC
#define PCI_VENDOR_ID_TRUSTNETIC                0x8088
#endif

/* Device IDs */
/* copper */
#define NGBE_DEV_ID_EM_TEST                   0x0000
+5 −0
Original line number Diff line number Diff line
@@ -89,6 +89,11 @@
#endif

/************ txgbe_register.h ************/
/* Vendor ID */
#ifndef PCI_VENDOR_ID_TRUSTNETIC
#define PCI_VENDOR_ID_TRUSTNETIC                0x8088
#endif

/* Device IDs */
#define TXGBE_DEV_ID_SP1000                     0x1001
#define TXGBE_DEV_ID_WX1820                     0x2001
+0 −1
Original line number Diff line number Diff line
@@ -4979,7 +4979,6 @@ static const struct pci_dev_acs_enabled {
	/* because rootcomplex Vendor id is 0x17cd on phytium cpu */
	{ 0x17cd, PCI_ANY_ID, pci_quirk_xgene_acs },
#endif
	{ PCI_VENDOR_ID_TRUSTNETIC, PCI_ANY_ID, pci_quirk_mf_endpoint_acs },
	{ 0 }
};

+0 −2
Original line number Diff line number Diff line
@@ -3148,8 +3148,6 @@

#define PCI_VENDOR_ID_NCUBE		0x10ff

#define PCI_VENDOR_ID_TRUSTNETIC        0x8088

#define PCI_VENDOR_ID_PHYTIUM          0x1db7

#endif /* _LINUX_PCI_IDS_H */