Commit 0c7dc652 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

env: remove deprecated spdk_pci_get_device()

parent f3165e3d
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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.
 *
+0 −6
Original line number Diff line number Diff line
@@ -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)