diff --git a/drivers/net/ethernet/netswift/ngbe/ngbe_type.h b/drivers/net/ethernet/netswift/ngbe/ngbe_type.h index ab175d1292ccd5383426cc326e5c49deb29bc38f..bae091ffd6e0d2d9acea66330d08c25635126a91 100644 --- a/drivers/net/ethernet/netswift/ngbe/ngbe_type.h +++ b/drivers/net/ethernet/netswift/ngbe/ngbe_type.h @@ -65,11 +65,6 @@ #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 diff --git a/drivers/net/ethernet/netswift/txgbe/txgbe_type.h b/drivers/net/ethernet/netswift/txgbe/txgbe_type.h index aadab1a21823bec1b67f44e5daa94aa68f9cb643..9aaca94c6faee4944ff6959792c09a03c5b749fa 100644 --- a/drivers/net/ethernet/netswift/txgbe/txgbe_type.h +++ b/drivers/net/ethernet/netswift/txgbe/txgbe_type.h @@ -89,11 +89,6 @@ #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 diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e6ffe0b3a6477b359960a6a1473b8efab5c15658..4fc51768969942d85b0e1fec87b20581f8d7970e 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -4979,6 +4979,7 @@ 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 } }; diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index d03924b7945128dfa1effe5f435c95358ba9661b..ea90e03010b92b60f42deb78d9c53c0883de85f2 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3145,4 +3145,6 @@ #define PCI_VENDOR_ID_NCUBE 0x10ff +#define PCI_VENDOR_ID_TRUSTNETIC 0x8088 + #endif /* _LINUX_PCI_IDS_H */