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 691750ee4e4b978b13d46cc803729e4345acba33..131bc428767e36924195c4d0d3e2aa9f658c09a0 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 0f1a8978d0cce0ab13771e67ac0192c4172811b1..2582180d5142f6df9bb25ea4a0da983a57c6cf68 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3139,4 +3139,6 @@ #define PCI_VENDOR_ID_NCUBE 0x10ff +#define PCI_VENDOR_ID_TRUSTNETIC 0x8088 + #endif /* _LINUX_PCI_IDS_H */