zx_pci_init

Summary

This function is obsolete and should not be used.

Declaration

#include <zircon/syscalls.h>

zx_status_t zx_pci_init(zx_handle_t handle,
                        const zx_pci_init_arg_t* init_buf,
                        uint32_t len);

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_MMIO.

Return value

TODO(https://fxbug.dev/42108078)

Errors

TODO(https://fxbug.dev/42108078)

See also

TODO(https://fxbug.dev/42108078)