摘要
此函式已過時,不應使用。
宣告
#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);
說明
此函式已過時,不應使用。驅動程式應改用 PCI 通訊協定
一般而言,您會透過 device_get_protocol() 在 bind() 函式中取得此資訊。
權限
handle 必須具備 ZX_RSRC_KIND_IRQ 資源類型。
傳回值
TODO(https://fxbug.dev/42108078)
錯誤
TODO(https://fxbug.dev/42108078)
另請參閱
TODO(https://fxbug.dev/42108078)