Revert "cxl: Add cxl_slot_is_supported API"

Remove abandonned capi support for the Mellanox CX4.

This reverts commit 4e56f858bd.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Frederic Barrat
2018-06-28 12:05:07 +02:00
committed by Michael Ellerman
parent 8bf6b91a51
commit 322dc4af6c
2 changed files with 0 additions and 52 deletions

View File

@@ -24,21 +24,6 @@
* generic PCI API. This API is agnostic to the actual AFU.
*/
#define CXL_SLOT_FLAG_DMA 0x1
/*
* Checks if the given card is in a cxl capable slot. Pass CXL_SLOT_FLAG_DMA if
* the card requires CAPP DMA mode to also check if the system supports it.
* This is intended to be used by bi-modal devices to determine if they can use
* cxl mode or if they should continue running in PCI mode.
*
* Note that this only checks if the slot is cxl capable - it does not
* currently check if the CAPP is currently available for chips where it can be
* assigned to different PHBs on a first come first serve basis (i.e. P8)
*/
bool cxl_slot_is_supported(struct pci_dev *dev, int flags);
/* Get the AFU associated with a pci_dev */
struct cxl_afu *cxl_pci_to_afu(struct pci_dev *dev);