env: remove deprecated spdk_pci_get_device()
Change-Id: I4ef46aba6ee2c1aa8e0303b2376ddd52493555b8 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/410729 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
f3165e3df3
commit
0c7dc65248
@ -600,17 +600,6 @@ int spdk_pci_ioat_enumerate(spdk_pci_enum_cb enum_cb, void *enum_ctx);
|
||||
*/
|
||||
int spdk_pci_virtio_enumerate(spdk_pci_enum_cb enum_cb, void *enum_ctx);
|
||||
|
||||
/**
|
||||
* Get PCI device from the given address.
|
||||
*
|
||||
* \param pci_addr A pointer to the PCI address struct.
|
||||
*
|
||||
* \return a pointer to the PCI device or NULL if no devide is found at the given
|
||||
* address.
|
||||
*/
|
||||
struct spdk_pci_device *spdk_pci_get_device(struct spdk_pci_addr *pci_addr)
|
||||
__attribute__((deprecated));
|
||||
|
||||
/**
|
||||
* Get a mapping of the virtual address to the BAR of the PCI device.
|
||||
*
|
||||
|
@ -207,12 +207,6 @@ spdk_pci_enumerate(struct spdk_pci_enum_ctx *ctx,
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct spdk_pci_device *
|
||||
spdk_pci_get_device(struct spdk_pci_addr *pci_addr)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
spdk_pci_device_map_bar(struct spdk_pci_device *device, uint32_t bar,
|
||||
void **mapped_addr, uint64_t *phys_addr, uint64_t *size)
|
||||
|
Loading…
Reference in New Issue
Block a user