zx_pci_get_nth_device

SUMMARY

This function is obsolete and should not be used.

DECLARATION

#include <zircon/syscalls.h>

zx_status_t zx_pci_get_nth_device(zx_handle_t handle,
                                  uint32_t index,
                                  zx_pcie_device_info_t* out_info,
                                  zx_handle_t* out_handle);

DESCRIPTION

This function is obsolete and should not be used. Drivers should instead use the PCI protocol Typically, you obtain this in your bind() function through device_get_protocol().

RIGHTS

handle must have resource kind ZX_RSRC_KIND_ROOT.

RETURN VALUE

TODO(fxbug.dev/32938)

ERRORS

TODO(fxbug.dev/32938)

SEE ALSO

TODO(fxbug.dev/32938)